다음을 통해 공유


KubernetesExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Kubernetes.

public static class KubernetesExtensions
type KubernetesExtensions = class
Public Module KubernetesExtensions
Inheritance
KubernetesExtensions

Methods

GetConnectedCluster(ResourceGroupResource, 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
GetConnectedClusterAsync(ResourceGroupResource, 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
GetConnectedClusterResource(ArmClient, ResourceIdentifier)

Gets an object representing a ConnectedClusterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ConnectedClusterResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetConnectedClusterResource(ResourceIdentifier) instead.

GetConnectedClusters(ResourceGroupResource)

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

GetConnectedClusters(SubscriptionResource, CancellationToken)

API to enumerate registered connected K8s clusters under a Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Kubernetes/connectedClusters
  • Operation Id: ConnectedCluster_ListBySubscription
GetConnectedClustersAsync(SubscriptionResource, CancellationToken)

API to enumerate registered connected K8s clusters under a Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Kubernetes/connectedClusters
  • Operation Id: ConnectedCluster_ListBySubscription

Applies to