Freigeben über


ContainerAppDetectorCollection.Get(String, CancellationToken) Methode

Definition

Rufen Sie ein Diagnose Ergebnis einer Container-App ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/detectors/{detectorName}
  • Vorgang IdContainerAppsDiagnostics_GetDetector
public virtual Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource> Get (string detectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource>
Public Overridable Function Get (detectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppDetectorResource)

Parameter

detectorName
String

Name des Container-App-Detektors.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

detectorName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

detectorName ist NULL.

Gilt für: