CapacityReservationGroupsOperationsExtensions.ListByResourceGroup 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 specified resource group. 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> ListByResourceGroup (this Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations operations, string resourceGroupName, string expand = default);
static member ListByResourceGroup : Microsoft.Azure.Management.Compute.ICapacityReservationGroupsOperations * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.CapacityReservationGroup>
<Extension()>
Public Function ListByResourceGroup (operations As ICapacityReservationGroupsOperations, resourceGroupName As String, Optional expand As String = Nothing) As IPage(Of CapacityReservationGroup)
Parameters
- operations
- ICapacityReservationGroupsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應