共用方式為


KubernetesConfigurationExtensions.GetKubernetesClusterExtensions Method

Definition

Gets a collection of KubernetesClusterExtensionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetKubernetesClusterExtensions(String, String, String) instead.

public static Azure.ResourceManager.KubernetesConfiguration.KubernetesClusterExtensionCollection GetKubernetesClusterExtensions (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string clusterRp, string clusterResourceName, string clusterName);
static member GetKubernetesClusterExtensions : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string -> Azure.ResourceManager.KubernetesConfiguration.KubernetesClusterExtensionCollection
<Extension()>
Public Function GetKubernetesClusterExtensions (resourceGroupResource As ResourceGroupResource, clusterRp As String, clusterResourceName As String, clusterName As String) As KubernetesClusterExtensionCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

clusterRp
String

The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName
String

The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.

clusterName
String

The name of the kubernetes cluster.

Returns

An object representing collection of KubernetesClusterExtensionResources and their operations over a KubernetesClusterExtensionResource.

Exceptions

resourceGroupResource, clusterRp, clusterResourceName or clusterName is null.

clusterRp, clusterResourceName or clusterName is an empty string, and was expected to be non-empty.

Applies to