次の方法で共有


ContainerAppResource.GetContainerAppDetectorAsync メソッド

定義

コンテナー アプリの診断結果を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/detectors/{detectorName}
  • 操作IdContainerAppsDiagnostics_GetDetector
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource>> GetContainerAppDetectorAsync (string detectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppDetectorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource>>
override this.GetContainerAppDetectorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource>>
Public Overridable Function GetContainerAppDetectorAsync (detectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppDetectorResource))

パラメーター

detectorName
String

Container App Detector の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

detectorName は空の文字列であり、空でないと想定されていました。

detectorName が null です。

適用対象