Compartilhar via


SourceControlConfigurationsOperationsExtensions.GetAsync Método

Definição

Obtém detalhes da Configuração de Controle do Código-Fonte.

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

Parâmetros

operations
ISourceControlConfigurationsOperations

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.

sourceControlConfigurationName
String

Nome da Configuração de Controle do Código-Fonte.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a