Compartilhar via


ContainerAppResource.GetSourceControlAsync(String, CancellationToken) Método

Definição

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

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource>> GetSourceControlAsync (string sourceControlName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSourceControlAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource>>
override this.GetSourceControlAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource>>
Public Overridable Function GetSourceControlAsync (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 era esperado que não estivesse vazio.

sourceControlName é nulo.

Aplica-se a