你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzSupportProblemClassification

获取特定 Azure 服务的问题分类详细信息。

语法

List (默认值)

Get-AzSupportProblemClassification
    -ServiceName <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentityService

Get-AzSupportProblemClassification
    -Name <String>
    -ServiceInputObject <ISupportIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzSupportProblemClassification
    -Name <String>
    -ServiceName <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzSupportProblemClassification
    -InputObject <ISupportIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

说明

获取特定 Azure 服务的问题分类详细信息。

示例

示例 1:列出 Azure 支持问题分类

Get-AzSupportProblemClassification -ServiceName "6f16735c-b0ae-b275-ad3a-03479cfa1396"
DisplayName                                                                                     Name                                 SecondaryConsentEnabled
-----------                                                                                     ----                                 -----------------------
Compute-VM (cores-vCPUs) subscription limit increases                                           4d78b174-3203-a3ac-9e08-41fb35de6354
Windows Update, Guest Patching and OS Upgrades / Issue with Azure Automatic VM guest patching   e565bd13-86f0-ecb3-d2b7-0a7501ae8839
Windows Update, Guest Patching and OS Upgrades / Issue with Azure Update Management patching    8d686480-ef41-5005-358e-12b9be9608fe

列出可用于特定 Azure 服务的所有问题分类(类别)。 始终使用以编程方式获取的服务和问题分类。 这种做法可确保始终具有最新的服务和问题分类 ID 集。

示例 2:获取 Azure 支持问题分类

Get-AzSupportProblemClassification -ServiceName "6f16735c-b0ae-b275-ad3a-03479cfa1396" -Name "e565bd13-86f0-ecb3-d2b7-0a7501ae8839"
DisplayName             : Windows Update, Guest Patching and OS Upgrades / Issue with Azure Automatic VM guest patching
Id                      : /providers/Microsoft.Support/services/6f16735c-b0ae-b275-ad3a-03479cfa1396/problemClassifications/e565bd13-86f0-ecb3-d2b7-0a7501ae8839
Name                    : e565bd13-86f0-ecb3-d2b7-0a7501ae8839
ResourceGroupName       :
SecondaryConsentEnabled :
Type                    : Microsoft.Support/problemClassifications

获取特定 Azure 服务的问题分类详细信息。

参数

-DefaultProfile

DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。

参数属性

类型:PSObject
默认值:None
支持通配符:False
不显示:False
别名:AzureRMContext, AzureCredential

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-InputObject

标识参数

参数属性

类型:ISupportIdentity
默认值:None
支持通配符:False
不显示:False

参数集

GetViaIdentity
Position:Named
必需:True
来自管道的值:True
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Name

问题分类的名称。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False
别名:ProblemClassificationName

参数集

GetViaIdentityService
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False
Get
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ServiceInputObject

标识参数

参数属性

类型:ISupportIdentity
默认值:None
支持通配符:False
不显示:False

参数集

GetViaIdentityService
Position:Named
必需:True
来自管道的值:True
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ServiceName

可用于支持的 Azure 服务的名称。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

List
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False
Get
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

ISupportIdentity

输出

IProblemClassification