Share via


StandbyPoolExtensions.GetStandbyContainerGroupPools Method

Definition

Overloads

GetStandbyContainerGroupPools(ResourceGroupResource)

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

GetStandbyContainerGroupPools(SubscriptionResource, CancellationToken)

List StandbyContainerGroupPoolResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools
  • Operation Id: StandbyContainerGroupPoolResource_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: StandbyContainerGroupPoolResource

GetStandbyContainerGroupPools(ResourceGroupResource)

Source:
StandbyPoolExtensions.cs
Source:
StandbyPoolExtensions.cs

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of StandbyContainerGroupPoolResources and their operations over a StandbyContainerGroupPoolResource.

Exceptions

resourceGroupResource is null.

Applies to

GetStandbyContainerGroupPools(SubscriptionResource, CancellationToken)

Source:
StandbyPoolExtensions.cs
Source:
StandbyPoolExtensions.cs

List StandbyContainerGroupPoolResource resources by subscription ID

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to