ContainerAppManagedEnvironmentResource.GetContainerAppManagedEnvironmentDetectorAsync Método

Definição

Obtenha os dados de diagnóstico para um Ambiente Gerenciado usado para hospedar aplicativos de contêiner.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/detectores/{detectorName}
  • IdManagedEnvironmentDiagnostics_GetDetector de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentDetectorResource>> GetContainerAppManagedEnvironmentDetectorAsync (string detectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppManagedEnvironmentDetectorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentDetectorResource>>
override this.GetContainerAppManagedEnvironmentDetectorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentDetectorResource>>
Public Overridable Function GetContainerAppManagedEnvironmentDetectorAsync (detectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppManagedEnvironmentDetectorResource))

Parâmetros

detectorName
String

Nome do detector de Ambiente Gerenciado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

detectorName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

detectorName é nulo.

Aplica-se a