다음을 통해 공유


CapacityReservationsOperationsExtensions.BeginDeleteAsync Method

Definition

The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details.

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

Parameters

operations
ICapacityReservationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

capacityReservationGroupName
String

The name of the capacity reservation group.

capacityReservationName
String

The name of the capacity reservation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to