Share via


DevicesOperationsExtensions.DeleteAsync Method

Definition

Deletes the Data Box Edge/Data Box Gateway device.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.DataBoxEdge.IDevicesOperations operations, string deviceName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DataBoxEdge.IDevicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IDevicesOperations, deviceName As String, resourceGroupName 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to