Partager via


FluxConfigurationsOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Créez une configuration de flux Kubernetes.

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)

Paramètres

operations
IFluxConfigurationsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

clusterRp
String

Rp de cluster Kubernetes, c’est-à-dire Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName
String

Nom de la ressource de cluster Kubernetes, c’est-à-dire managedClusters, connectedClusters, provisionedClusters.

clusterName
String

Nom du cluster Kubernetes.

fluxConfigurationName
String

Nom de la configuration flux.

fluxConfiguration
FluxConfiguration

Propriétés nécessaires à la création d’une configuration FluxConfiguration.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à