Compartir a través de


ContainerAppResource.GetContainerAppSourceControlAsync Método

Definición

Obtiene un SourceControl de una aplicación contenedora.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}
  • IdContainerAppsSourceControls_Get de operación
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

Nombre de SourceControl de la aplicación contenedora.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

sourceControlName es una cadena vacía y se espera que no esté vacía.

sourceControlName es null.

Se aplica a