InstancesOperationsExtensions.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET