/// <summary> /// Update metadata of DigitalTwinsInstance. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the DigitalTwinsInstance. /// </param> /// <param name='resourceName'> /// The name of the DigitalTwinsInstance. /// </param> /// <param name='digitalTwinsPatchDescription'> /// The DigitalTwinsInstance and security metadata. /// </param> public static DigitalTwinsDescription BeginUpdate(this IDigitalTwinsOperations operations, string resourceGroupName, string resourceName, DigitalTwinsPatchDescription digitalTwinsPatchDescription) { return(operations.BeginUpdateAsync(resourceGroupName, resourceName, digitalTwinsPatchDescription).GetAwaiter().GetResult()); }
/// <summary> /// Update metadata of DigitalTwinsInstance. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the DigitalTwinsInstance. /// </param> /// <param name='resourceName'> /// The name of the DigitalTwinsInstance. /// </param> /// <param name='tags'> /// Instance tags /// </param> public static DigitalTwinsDescription BeginUpdate(this IDigitalTwinsOperations operations, string resourceGroupName, string resourceName, IDictionary <string, string> tags = default(IDictionary <string, string>)) { return(operations.BeginUpdateAsync(resourceGroupName, resourceName, tags).GetAwaiter().GetResult()); }