你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
标识参数
类型: | IAppIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-ContainerAppName
容器应用的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DetectorName
容器应用检测器的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-InputObject
标识参数
类型: | IAppIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-ResourceGroupName
资源组的名称。 名称不区分大小写。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-SubscriptionId
目标订阅的 ID。
类型: | String[] |
Position: | Named |
默认值: | (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |