Share via


InstancesOperationsExtensions.UpdateAsync Method

Definition

Updates instance's tags.

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

Parameters

operations
IInstancesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

Account name.

instanceName
String

Instance name.

tags
IDictionary<String,String>

List of key value pairs that describe the resource. This will overwrite the existing tags.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to