共用方式為


DevicesOperationsExtensions.UpdateAsync Method

Definition

Patches the device.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.Device> UpdateAsync (this Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations operations, string deviceName, Microsoft.Azure.Management.StorSimple8000Series.Models.DevicePatch parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations * string * Microsoft.Azure.Management.StorSimple8000Series.Models.DevicePatch * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.Device>
<Extension()>
Public Function UpdateAsync (operations As IDevicesOperations, deviceName As String, parameters As DevicePatch, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Device)

Parameters

operations
IDevicesOperations

The operations group for this extension method.

deviceName
String

The device name

parameters
DevicePatch

Patch representation of the device.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to