Udostępnij za pośrednictwem


SourceControlConfigurationsOperationsExtensions.GetAsync Method

Definition

Gets details of the Source Control Configuration.

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)

Parameters

operations
ISourceControlConfigurationsOperations

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.

sourceControlConfigurationName
String

Name of the Source Control Configuration.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to