Share via


StandbyPoolExtensions.GetStandbyVirtualMachinePools Method

Definition

Overloads

GetStandbyVirtualMachinePools(ResourceGroupResource)

Gets a collection of StandbyVirtualMachinePoolResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStandbyVirtualMachinePools() instead.

GetStandbyVirtualMachinePools(SubscriptionResource, CancellationToken)

List StandbyVirtualMachinePoolResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools
  • Operation Id: StandbyVirtualMachinePoolResource_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: StandbyVirtualMachinePoolResource

GetStandbyVirtualMachinePools(ResourceGroupResource)

Source:
StandbyPoolExtensions.cs
Source:
StandbyPoolExtensions.cs

Gets a collection of StandbyVirtualMachinePoolResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStandbyVirtualMachinePools() instead.

public static Azure.ResourceManager.StandbyPool.StandbyVirtualMachinePoolCollection GetStandbyVirtualMachinePools (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetStandbyVirtualMachinePools : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.StandbyPool.StandbyVirtualMachinePoolCollection
<Extension()>
Public Function GetStandbyVirtualMachinePools (resourceGroupResource As ResourceGroupResource) As StandbyVirtualMachinePoolCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of StandbyVirtualMachinePoolResources and their operations over a StandbyVirtualMachinePoolResource.

Exceptions

resourceGroupResource is null.

Applies to

GetStandbyVirtualMachinePools(SubscriptionResource, CancellationToken)

Source:
StandbyPoolExtensions.cs
Source:
StandbyPoolExtensions.cs

List StandbyVirtualMachinePoolResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools
  • Operation Id: StandbyVirtualMachinePoolResource_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: StandbyVirtualMachinePoolResource
public static Azure.Pageable<Azure.ResourceManager.StandbyPool.StandbyVirtualMachinePoolResource> GetStandbyVirtualMachinePools (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetStandbyVirtualMachinePools : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StandbyPool.StandbyVirtualMachinePoolResource>
<Extension()>
Public Function GetStandbyVirtualMachinePools (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of StandbyVirtualMachinePoolResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of StandbyVirtualMachinePoolResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to