Share via


HybridContainerServiceAgentPoolCollection Class

Definition

A class representing a collection of HybridContainerServiceAgentPoolResource and their operations. Each HybridContainerServiceAgentPoolResource in the collection will belong to the same instance of ProvisionedClusterResource. To get a HybridContainerServiceAgentPoolCollection instance call the GetHybridContainerServiceAgentPools method from an instance of ProvisionedClusterResource.

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

Constructors

HybridContainerServiceAgentPoolCollection()

Initializes a new instance of the HybridContainerServiceAgentPoolCollection 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, HybridContainerServiceAgentPoolData, CancellationToken)

Creates or updates the agent pool in the provisioned cluster

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
CreateOrUpdateAsync(WaitUntil, String, HybridContainerServiceAgentPoolData, CancellationToken)

Creates or updates the agent pool in the provisioned cluster

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_CreateOrUpdate
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_Get
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_Get
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
Get(String, CancellationToken)

Gets the specified agent pool in the provisioned cluster

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_Get
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
GetAll(CancellationToken)

Gets the list of agent pools in the specified provisioned cluster

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools
  • Operation Id: agentPool_ListByProvisionedCluster
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
GetAllAsync(CancellationToken)

Gets the list of agent pools in the specified provisioned cluster

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools
  • Operation Id: agentPool_ListByProvisionedCluster
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
GetAsync(String, CancellationToken)

Gets the specified agent pool in the provisioned cluster

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_Get
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_Get
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/{agentPoolName}
  • Operation Id: agentPool_Get
  • Default Api Version: 2024-01-01
  • Resource: HybridContainerServiceAgentPoolResource
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<HybridContainerServiceAgentPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HybridContainerServiceAgentPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to