Dela via


FluxConfigurationsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create a new Kubernetes Flux Configuration.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KubernetesConfiguration.Models.FluxConfiguration> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.KubernetesConfiguration.IFluxConfigurationsOperations operations, string resourceGroupName, string clusterRp, string clusterResourceName, string clusterName, string fluxConfigurationName, Microsoft.Azure.Management.KubernetesConfiguration.Models.FluxConfiguration fluxConfiguration, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.KubernetesConfiguration.IFluxConfigurationsOperations * string * string * string * string * string * Microsoft.Azure.Management.KubernetesConfiguration.Models.FluxConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KubernetesConfiguration.Models.FluxConfiguration>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IFluxConfigurationsOperations, resourceGroupName As String, clusterRp As String, clusterResourceName As String, clusterName As String, fluxConfigurationName As String, fluxConfiguration As FluxConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FluxConfiguration)

Parameters

operations
IFluxConfigurationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

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.

fluxConfigurationName
String

Name of the Flux Configuration.

fluxConfiguration
FluxConfiguration

Properties necessary to Create a FluxConfiguration.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to