次の方法で共有


Get-AzContainerAppDiagnosticDetector

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

構文

Get-AzContainerAppDiagnosticDetector
   -ContainerAppName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzContainerAppDiagnosticDetector
   -ContainerAppName <String>
   -DetectorName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzContainerAppDiagnosticDetector
   -DetectorName <String>
   -ContainerAppInputObject <IAppIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzContainerAppDiagnosticDetector
   -InputObject <IAppIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

説明

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

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

Get-AzContainerAppDiagnosticDetector -ContainerAppName azps-containerapp-1 -ResourceGroupName azps_test_group_app

Name                                 ResourceGroupName
----                                 -----------------
AutoScalingErrors                    azps_test_group_app
clustersubnet                        azps_test_group_app
cappconfigandmanagement              azps_test_group_app
cappContainerAppAvailabilityDetector azps_test_group_app
cappcontainerappcpu                  azps_test_group_app
cappContainerAppAvailabilityMetrics  azps_test_group_app
cappcontainerappclustercreation      azps_test_group_app
cappcontainerappmemory               azps_test_group_app
cappcontainerappnetworkusage         azps_test_group_app
ContainerAppsRevisionComparsion      azps_test_group_app
ContainerAppEnvironmentEvents        azps_test_group_app
containerenvinsights                 azps_test_group_app
DaprInsights                         azps_test_group_app
cappdeploymentFailures               azps_test_group_app
EasyAuthConfigurationErrors          azps_test_group_app
cappcontainerapprevisions            azps_test_group_app
snatusage                            azps_test_group_app
cappcertificates                     azps_test_group_app

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

パラメーター

-ContainerAppInputObject

IDENTITY パラメーター

型:IAppIdentity
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

-ContainerAppName

コンテナー アプリの名前。

型:String
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-DefaultProfile

DefaultProfile パラメーターは機能しません。 別のサブスクリプションに対してコマンドレットを実行する場合は、使用可能な場合は SubscriptionId パラメーターを使用します。

型:PSObject
Aliases:AzureRMContext, AzureCredential
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-DetectorName

Container App Detector の名前。

型:String
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-InputObject

IDENTITY パラメーター

型:IAppIdentity
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

-ResourceGroupName

リソース グループの名前。 名前では大文字と小文字が区別されません。

型:String
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-SubscriptionId

ターゲット サブスクリプションの ID。

型:String[]
配置:Named
規定値:(Get-AzContext).Subscription.Id
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

入力

IAppIdentity

出力

IDiagnostics