다음을 통해 공유


IotDpsResourceOperationsExtensions.UpdateAsync Method

Definition

Update an existing provisioning service's tags.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceProvisioningServices.Models.ProvisioningServiceDescription> UpdateAsync (this Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations operations, string resourceGroupName, string provisioningServiceName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceProvisioningServices.Models.ProvisioningServiceDescription>
<Extension()>
Public Function UpdateAsync (operations As IIotDpsResourceOperations, resourceGroupName As String, provisioningServiceName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProvisioningServiceDescription)

Parameters

operations
IIotDpsResourceOperations

The operations group for this extension method.

resourceGroupName
String

Resource group identifier.

provisioningServiceName
String

Name of provisioning service to create or update.

tags
IDictionary<String,String>

Resource tags

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method

Applies to