PoolOperationsExtensions.DeleteAsync Metod

Definition

Tar bort den angivna poolen.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PoolDeleteHeaders> DeleteAsync (this Microsoft.Azure.Management.Batch.IPoolOperations operations, string resourceGroupName, string accountName, string poolName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Batch.IPoolOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PoolDeleteHeaders>
<Extension()>
Public Function DeleteAsync (operations As IPoolOperations, resourceGroupName As String, accountName As String, poolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PoolDeleteHeaders)

Parametrar

operations
IPoolOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på resursgruppen som innehåller Batch-kontot.

accountName
String

Namnet på Batch-kontot.

poolName
String

Poolnamnet. Detta måste vara unikt i kontot.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för