Compartilhar via


ContainerAppResource.GetSourceControl(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 Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource> GetSourceControl (string sourceControlName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSourceControl : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource>
override this.GetSourceControl : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Applications.Containers.SourceControlResource>
Public Overridable Function GetSourceControl (sourceControlName As String, Optional cancellationToken As CancellationToken = Nothing) As 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