Compartilhar via


FluxConfigurationsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Crie uma nova Configuração do Flux do 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)

Parâmetros

operations
IFluxConfigurationsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

clusterRp
String

O RP do cluster kubernetes – ou seja, Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName
String

O nome do recurso de cluster do Kubernetes – ou seja, managedClusters, connectedClusters, provisionedClusters.

clusterName
String

O nome do cluster kubernetes.

fluxConfigurationName
String

Nome da Configuração do Flux.

fluxConfiguration
FluxConfiguration

Propriedades necessárias para Criar um FluxConfiguration.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a