DevicesOperationsExtensions.UpdateAsync Method

Definition

Modifies a Data Box Edge/Gateway resource.

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

Parameters

operations
IDevicesOperations

The operations group for this extension method.

deviceName
String

The device name.

resourceGroupName
String

The resource group name.

tags
IDictionary<String,String>

The tags attached to the Data Box Edge/Gateway resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to