ConnectedClusterCollection Class

Definition

A class representing a collection of ConnectedClusterResource and their operations. Each ConnectedClusterResource in the collection will belong to the same instance of ResourceGroupResource. To get a ConnectedClusterCollection instance call the GetConnectedClusters method from an instance of ResourceGroupResource.

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

Constructors

ConnectedClusterCollection()

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

API to register a new Kubernetes cluster and create a tracked resource in Azure Resource Manager (ARM).

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Create
CreateOrUpdateAsync(WaitUntil, String, ConnectedClusterData, CancellationToken)

API to register a new Kubernetes cluster and create a tracked resource in Azure Resource Manager (ARM).

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Create
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Get
Get(String, CancellationToken)

Returns the properties of the specified connected cluster, including name, identity, properties, and additional cluster details.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Get
GetAll(CancellationToken)

API to enumerate registered connected K8s clusters under a Resource Group

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters
  • Operation Id: ConnectedCluster_ListByResourceGroup
GetAllAsync(CancellationToken)

API to enumerate registered connected K8s clusters under a Resource Group

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters
  • Operation Id: ConnectedCluster_ListByResourceGroup
GetAsync(String, CancellationToken)

Returns the properties of the specified connected cluster, including name, identity, properties, and additional cluster details.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Get
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<ConnectedClusterResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ConnectedClusterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to