Partilhar via


NetworkCloudAgentPoolCollection Class

Definition

A class representing a collection of NetworkCloudAgentPoolResource and their operations. Each NetworkCloudAgentPoolResource in the collection will belong to the same instance of NetworkCloudKubernetesClusterResource. To get a NetworkCloudAgentPoolCollection instance call the GetNetworkCloudAgentPools method from an instance of NetworkCloudKubernetesClusterResource.

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

Constructors

NetworkCloudAgentPoolCollection()

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

Create a new Kubernetes cluster agent pool or update the properties of the existing one.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
CreateOrUpdateAsync(WaitUntil, String, NetworkCloudAgentPoolData, CancellationToken)

Create a new Kubernetes cluster agent pool or update the properties of the existing one.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
Get(String, CancellationToken)

Get properties of the provided Kubernetes cluster agent pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
GetAll(CancellationToken)

Get a list of agent pools for the provided Kubernetes cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools
  • Operation Id: AgentPools_ListByKubernetesCluster
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
GetAllAsync(CancellationToken)

Get a list of agent pools for the provided Kubernetes cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools
  • Operation Id: AgentPools_ListByKubernetesCluster
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
GetAsync(String, CancellationToken)

Get properties of the provided Kubernetes cluster agent pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}
  • Operation Id: AgentPools_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudAgentPoolResource
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<NetworkCloudAgentPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkCloudAgentPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to