Aracılığıyla paylaş


CapacityReservationsOperationsExtensions.ListByCapacityReservationGroupAsync Method

Definition

Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.CapacityReservation>> ListByCapacityReservationGroupAsync (this Microsoft.Azure.Management.Compute.ICapacityReservationsOperations operations, string resourceGroupName, string capacityReservationGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByCapacityReservationGroupAsync : Microsoft.Azure.Management.Compute.ICapacityReservationsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.CapacityReservation>>
<Extension()>
Public Function ListByCapacityReservationGroupAsync (operations As ICapacityReservationsOperations, resourceGroupName As String, capacityReservationGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to