Partilhar via


SourceControlCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha um SourceControl de um aplicativo de contêiner. Caminho da Solicitação: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} ID da Operação: ContainerAppsSourceControls_Get

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource>> GetAsync (string sourceControlName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource>>
Public Overridable Function GetAsync (sourceControlName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SourceControlResource))

Parâmetros

sourceControlName
String

Nome do Aplicativo de Contêiner SourceControl.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

sourceControlName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

sourceControlName é nulo.

Aplica-se a