Sdílet prostřednictvím


CapacityReservationGroupsOperationsExtensions.Get Method

Definition

The operation that retrieves information about a capacity reservation group.

public static Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup Get (this Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations operations, string resourceGroupName, string capacityReservationGroupName, string expand = default);
static member Get : Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations * string * string * string -> Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup
<Extension()>
Public Function Get (operations As ICapacityReservationGroupsOperations, resourceGroupName As String, capacityReservationGroupName As String, Optional expand As String = Nothing) As CapacityReservationGroup

Parameters

operations
ICapacityReservationGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

capacityReservationGroupName
String

The name of the capacity reservation group.

expand
String

The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the capacity reservations under the capacity reservation group which is a snapshot of the runtime properties of a capacity reservation that is managed by the platform and can change outside of control plane operations. Possible values include: 'instanceView'

Returns

Applies to