DevicesOperationsExtensions.DeactivateAsync 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.
Deactivates the device.
public static System.Threading.Tasks.Task DeactivateAsync (this Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations operations, string deviceName, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member DeactivateAsync : Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeactivateAsync (operations As IDevicesOperations, deviceName As String, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IDevicesOperations
The operations group for this extension method.
- deviceName
- String
The device name
- resourceGroupName
- String
The resource group name
- managerName
- String
The manager name
- cancellationToken
- CancellationToken
The cancellation token.