Redigera

Dela via


Get-AzSupportService

Gets a specific Azure service for support ticket creation.

Syntax

Get-AzSupportService
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSupportService
   -Name <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzSupportService
   -InputObject <ISupportIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Gets a specific Azure service for support ticket creation.

Examples

Example 1: List Azure Support Services

Get-AzSupportService

DisplayName                                                  Name                                 ResourceType
-----------                                                  ----                                 ------------
Activity Logs                                                484e2236-bc6d-b1bb-76d2-7d09278cf9ea {}
Advisor                                                      26d8424b-0a41-4443-cbc6-0309ea8708d0 {}
AKS Edge Essentials                                          1232100c-42c0-f626-2b4f-8c8a4877acad {Microsoft.Kubernetes/connectedClusters}

Lists all the Azure services available for support ticket creation. For Technical issues, select the Service Id that maps to the Azure service/product as displayed in the Services drop-down list on the Azure portal's New support request page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

Example 2: Get Azure Support Service

Get-AzSupportService -Name "484e2236-bc6d-b1bb-76d2-7d09278cf9ea"

DisplayName       : Activity Logs
Id                : /providers/Microsoft.Support/services/484e2236-bc6d-b1bb-76d2-7d09278cf9ea
Name              : 484e2236-bc6d-b1bb-76d2-7d09278cf9ea
ResourceGroupName :
ResourceType      : {}
Type              : Microsoft.Support/services

Gets a specific Azure service for support ticket creation.

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 the Azure service.

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

Inputs

ISupportIdentity

Outputs

IService