Redigera

Dela via


Get-AzSupportProblemClassification

Get problem classification details for a specific Azure service.

Syntax

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

Description

Get problem classification details for a specific Azure service.

Examples

Example 1: List Azure Support Problem Classifications

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

Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.

Example 2: Get Azure Support Problem Classification

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

Get problem classification details for a specific Azure service.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter

Type:ISupportIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Name of problem classification.

Type:String
Aliases:ProblemClassificationName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ServiceInputObject

Identity Parameter

Type:ISupportIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ServiceName

Name of the Azure service available for support.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ISupportIdentity

Outputs

IProblemClassification