CapacityReservationsOperationsExtensions.ListByCapacityReservationGroupAsync 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.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET