Share via


KubernetesConfigurationExtensions.GetKubernetesFluxConfigurations Method

Definition

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

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

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 KubernetesFluxConfigurationResources and their operations over a KubernetesFluxConfigurationResource.

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