Share via


ContainerRegistryAgentPoolCollection Class

Definition

A class representing a collection of ContainerRegistryAgentPoolResource and their operations. Each ContainerRegistryAgentPoolResource in the collection will belong to the same instance of ContainerRegistryResource. To get a ContainerRegistryAgentPoolCollection instance call the GetContainerRegistryAgentPools method from an instance of ContainerRegistryResource.

public class ContainerRegistryAgentPoolCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryAgentPoolResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.ContainerRegistryAgentPoolResource>
type ContainerRegistryAgentPoolCollection = class
    inherit ArmCollection
    interface seq<ContainerRegistryAgentPoolResource>
    interface IEnumerable
    interface IAsyncEnumerable<ContainerRegistryAgentPoolResource>
Public Class ContainerRegistryAgentPoolCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ContainerRegistryAgentPoolResource), IEnumerable(Of ContainerRegistryAgentPoolResource)
Inheritance
ContainerRegistryAgentPoolCollection
Implements

Constructors

ContainerRegistryAgentPoolCollection()

Initializes a new instance of the ContainerRegistryAgentPoolCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ContainerRegistryAgentPoolData, CancellationToken)

Creates an agent pool for a container registry with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Create
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
CreateOrUpdateAsync(WaitUntil, String, ContainerRegistryAgentPoolData, CancellationToken)

Creates an agent pool for a container registry with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Create
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
Get(String, CancellationToken)

Gets the detailed information for a given agent pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
GetAll(CancellationToken)

Lists all the agent pools for a specified container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools
  • Operation Id: AgentPools_List
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
GetAllAsync(CancellationToken)

Lists all the agent pools for a specified container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools
  • Operation Id: AgentPools_List
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
GetAsync(String, CancellationToken)

Gets the detailed information for a given agent pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2019-06-01-preview
  • Resource: ContainerRegistryAgentPoolResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ContainerRegistryAgentPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerRegistryAgentPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to