CapacityReservationGroupsOperationsExtensions.Delete Method

Definition

The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details.

public static void Delete (this Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations operations, string resourceGroupName, string capacityReservationGroupName);
static member Delete : Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations * string * string -> unit
<Extension()>
Public Sub Delete (operations As ICapacityReservationGroupsOperations, resourceGroupName As String, capacityReservationGroupName As String)

Parameters

operations
ICapacityReservationGroupsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

capacityReservationGroupName
System.String

The name of the capacity reservation group.

Applies to