DevOpsInfrastructureExtensions.GetDevOpsPools Method

Definition

Overloads

GetDevOpsPools(ResourceGroupResource)

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

GetDevOpsPools(SubscriptionResource, CancellationToken)

List Pool resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/pools
  • Operation Id: Pool_ListBySubscription
  • Default Api Version: 2024-04-04-preview
  • Resource: DevOpsPoolResource

GetDevOpsPools(ResourceGroupResource)

Source:
DevOpsInfrastructureExtensions.cs

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

public static Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolCollection GetDevOpsPools (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDevOpsPools : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolCollection
<Extension()>
Public Function GetDevOpsPools (resourceGroupResource As ResourceGroupResource) As DevOpsPoolCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DevOpsPoolResources and their operations over a DevOpsPoolResource.

Exceptions

resourceGroupResource is null.

Applies to

GetDevOpsPools(SubscriptionResource, CancellationToken)

Source:
DevOpsInfrastructureExtensions.cs

List Pool resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/pools
  • Operation Id: Pool_ListBySubscription
  • Default Api Version: 2024-04-04-preview
  • Resource: DevOpsPoolResource
public static Azure.Pageable<Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolResource> GetDevOpsPools (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDevOpsPools : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolResource>
<Extension()>
Public Function GetDevOpsPools (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DevOpsPoolResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to