FluxConfigurationsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new Kubernetes Flux Configuration.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KubernetesConfiguration.Models.FluxConfiguration> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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
Azure SDK for .NET