Compartilhar via


ContainerAppResource.GetContainerAppSourceControlAsync Método

Definição

Obter um SourceControl de um aplicativo de contêiner.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}
  • IdContainerAppsSourceControls_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppSourceControlResource>> GetContainerAppSourceControlAsync (string sourceControlName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppSourceControlAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppSourceControlResource>>
override this.GetContainerAppSourceControlAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppSourceControlResource>>
Public Overridable Function GetContainerAppSourceControlAsync (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 era esperado que não estivesse vazio.

sourceControlName é nulo.

Aplica-se a