KubernetesConfigurationExtensions.GetKubernetesSourceControlConfigurations Method

Definition

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

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

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 KubernetesSourceControlConfigurationResources and their operations over a KubernetesSourceControlConfigurationResource.

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