Partilhar via


ContainerAppSourceControlCollection.GetAsync Método

Definição

Obtenha um SourceControl de um aplicativo de contêiner.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}
  • Operação IdContainerAppsSourceControls_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppSourceControlResource>> GetAsync (string sourceControlName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppSourceControlResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppSourceControlResource>>
Public Overridable Function GetAsync (sourceControlName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppSourceControlResource))

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