共用方式為


CapacityReservationsOperationsExtensions.Delete 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 void Delete (this Microsoft.Azure.Management.Compute.ICapacityReservationsOperations operations, string resourceGroupName, string capacityReservationGroupName, string capacityReservationName);
static member Delete : Microsoft.Azure.Management.Compute.ICapacityReservationsOperations * string * string * string -> unit
<Extension()>
Public Sub Delete (operations As ICapacityReservationsOperations, resourceGroupName As String, capacityReservationGroupName As String, capacityReservationName As String)

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.

Applies to