CapacityReservationGroupsOperationsExtensions.ListBySubscription 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 reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups.
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup> ListBySubscription (this Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations operations, string expand = default);
static member ListBySubscription : Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup>
<Extension()>
Public Function ListBySubscription (operations As ICapacityReservationGroupsOperations, Optional expand As String = Nothing) As IPage(Of CapacityReservationGroup)
Parameters
- operations
- ICapacityReservationGroupsOperations
The operations group for this extension method.
- expand
- String
The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. Possible values include: 'virtualMachineScaleSetVMs/$ref', 'virtualMachines/$ref'
Returns
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin