Example #1
0
 /// <summary>
 /// Update an existing provisioning service's tags.
 /// </summary>
 /// <remarks>
 /// Update an existing provisioning service's tags. to update other fields use
 /// the CreateOrUpdate method
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Resource group identifier.
 /// </param>
 /// <param name='provisioningServiceName'>
 /// Name of provisioning service to create or update.
 /// </param>
 /// <param name='provisioningServiceTags'>
 /// Updated tag information to set into the provisioning service instance.
 /// </param>
 public static ProvisioningServiceDescription Update(this IIotDpsResourceOperations operations, string resourceGroupName, string provisioningServiceName, TagsResource provisioningServiceTags)
 {
     return(operations.UpdateAsync(resourceGroupName, provisioningServiceName, provisioningServiceTags).GetAwaiter().GetResult());
 }