Compartilhar via


CapacityReservationsOperationsExtensions.ListByCapacityReservationGroupAsync Método

Definição

Lista todas as reservas de capacidade no grupo de reserva de capacidade especificado. Use a propriedade nextLink na resposta para obter a próxima página de reservas de capacidade.

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))

Parâmetros

operations
ICapacityReservationsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

capacityReservationGroupName
String

O nome do grupo de reserva de capacidade.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a