共用方式為


Get-AzSupportService

取得支援票證建立的特定 Azure 服務。

Syntax

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

Description

取得支援票證建立的特定 Azure 服務。

範例

範例 1:列出 Azure 支持服務

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}

列出所有可用於建立支援票證的 Azure 服務。 針對 [技術問題],選取對應至 Azure 服務/產品的服務標識符,如 Azure 入口網站 [新增支援要求] 頁面上的 [服務] 下拉式清單中所示。 請一律使用以程序設計方式取得的服務及其對應的問題分類,以建立支援票證。 這種做法可確保您一律擁有最新的一組服務和問題分類標識符。

範例 2:取得 Azure 支持服務

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

取得支援票證建立的特定 Azure 服務。

參數

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

類型:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity 參數

類型:ISupportIdentity
Position:Named
預設值:None
必要:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Azure 服務的名稱。

類型:String
Aliases:ServiceName
Position:Named
預設值:None
必要:True
Accept pipeline input:False
Accept wildcard characters:False

輸入

ISupportIdentity

輸出

IService