共用方式為


DiskEncryptionSetsOperationsExtensions.DeleteAsync Method

Definition

Deletes a disk encryption set.

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

Parameters

operations
IDiskEncryptionSetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

diskEncryptionSetName
String

The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to