Share via


ContainersOperationsExtensions.DeleteAsync Method

Definition

Deletes the container on the Data Box Edge/Data Box Gateway device.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.DataBoxEdge.IContainersOperations operations, string deviceName, string storageAccountName, string containerName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DataBoxEdge.IContainersOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IContainersOperations, deviceName As String, storageAccountName As String, containerName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IContainersOperations

The operations group for this extension method.

deviceName
String

The device name.

storageAccountName
String

The Storage Account Name

containerName
String

The container name.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to