CapacityReservationsOperationsExtensions.Get Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The operation that retrieves information about the capacity reservation.
public static Microsoft.Azure.Management.Compute.Models.CapacityReservation Get (this Microsoft.Azure.Management.Compute.ICapacityReservationsOperations operations, string resourceGroupName, string capacityReservationGroupName, string capacityReservationName, string expand = default);
static member Get : Microsoft.Azure.Management.Compute.ICapacityReservationsOperations * string * string * string * string -> Microsoft.Azure.Management.Compute.Models.CapacityReservation
<Extension()>
Public Function Get (operations As ICapacityReservationsOperations, resourceGroupName As String, capacityReservationGroupName As String, capacityReservationName As String, Optional expand As String = Nothing) As CapacityReservation
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.
- expand
- String
The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. Possible values include: 'instanceView'
Returns
Applies to
Azure SDK for .NET