Get-AzSupportTicket
取得 Azure 訂用帳戶的票證詳細數據。 支援票證數據可在票證建立后的18個月內取得。 如果票證是在18個多月前建立的,則要求數據可能會導致錯誤。 如果未指定任何參數,此命令預設會擷取在上周建立的所有票證。
Syntax
Get-AzSupportTicket
[-SubscriptionId <String[]>]
[-Filter <String>]
[-Top <Int32>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSupportTicket
[-SubscriptionId <String[]>]
-Name <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSupportTicket
-InputObject <ISupportIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
取得 Azure 訂用帳戶的票證詳細數據。 支援票證數據可在票證建立后的18個月內取得。 如果票證是在18個多月前建立的,則要求數據可能會導致錯誤。 如果未指定任何參數,此命令預設會擷取在上周建立的所有票證。
範例
範例 1:取得訂用帳戶層級的支援票證清單
Get-AzSupportTicket
Name Title SupportTicketId Severity ServiceDisplayName CreatedDate
---- ----- --------------- -------- ------------------ -----------
517f2da6-9bc71cda-278fc71b-7b86-4289-baec-922e8be1a04a test 2403080040012292 Minimal Billing 3/8/2024 9:03:26 PM
test1-5dda17d0-a60d-4f4c-82e3-0fe3604c0ed4 test ticket - please ignore and close 2403060040007460 Minimal Billing 3/6/2024 3:09:28 PM
Lists all the support tickets for an Azure subscription. If no parameters are specified, then this command will retrieve all tickets created in the last week by default.
範例 2:取得訂用帳戶層級的支援票證
Get-AzSupportTicket -SupportTicketName "test1-5dda17d0-a60d-4f4c-82e3-0fe3604c0ed4"
AdvancedDiagnosticConsent : No
ContactDetailAdditionalEmailAddress :
ContactDetailCountry : USA
ContactDetailFirstName : test
ContactDetailLastName : test
ContactDetailPhoneNumber :
ContactDetailPreferredContactMethod : Email
ContactDetailPreferredSupportLanguage : en-US
ContactDetailPreferredTimeZone : Pacific Standard Time
ContactDetailPrimaryEmailAddress : test@test.com
CreatedDate : 2/22/2024 12:55:38 AM
Description : test ticket - please ignore and close
EnrollmentId :
FileWorkspaceName : 2402220010000447
Id : /subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Su
pport/supportTickets/test1-5dda17d0-a60d-4f4c-82e3-0fe3604c0ed4
ModifiedDate : 2/22/2024 5:49:22 AM
Name : test1-5dda17d0-a60d-4f4c-82e3-0fe3604c0ed4
ProblemClassificationDisplayName : Add or update VAT, tax id, PO number or profile information
ProblemClassificationId : /providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc
/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef
ProblemScopingQuestion :
ProblemStartTime :
QuotaTicketDetailQuotaChangeRequest :
QuotaTicketDetailQuotaChangeRequestSubType :
QuotaTicketDetailQuotaChangeRequestVersion :
Require24X7Response : False
ResourceGroupName :
SecondaryConsent :
ServiceDisplayName : Billing
ServiceId : /providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc
ServiceLevelAgreementExpirationTime : 2/22/2024 8:56:00 PM
ServiceLevelAgreementSlaMinute : 480
ServiceLevelAgreementStartTime : 2/22/2024 12:55:38 AM
Severity : Minimal
Status : Updating
SupportEngineerEmailAddress :test@test.com
SupportPlanDisplayName : Azure Support Plan - Internal
SupportPlanId : U291cmNlOkF6dXJlTW9kZXJuLFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05ND
kzLWI2NWRhY2U5OTgxMyxTb3ZlcmVpZ25DbG91ZDpQdWJsaWMsT2ZmZXJJZDpNUy1BWlItMDAx
NVAs
SupportPlanType : Azure Internal
SupportTicketId : 2402220010000447
TechnicalTicketDetailResourceId :
Title : test ticket - please ignore and close
Type : Microsoft.Support/supportTickets
取得 Azure 訂用帳戶的票證詳細數據
參數
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Filter
要套用至作業的篩選條件。 我們支援 『odata v4.0』 篩選語意。 深入了解。 Status、 ServiceId 和 ProblemClassificationId 篩選只能與 Equals ('eq') 運算符搭配使用。 針對 CreatedDate 篩選,支援的運算子為 [大於] ('gt') 和 [大於] 或 [等於] ('ge')。 使用這兩個篩選條件時,請使用邏輯 『AND』 加以結合。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
類型: | ISupportIdentity |
Position: | Named |
預設值: | None |
必要: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
支援票證名稱。
類型: | String |
Aliases: | SupportTicketName |
Position: | Named |
預設值: | None |
必要: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Azure 訂用帳戶標識碼。
類型: | String[] |
Position: | Named |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Top
集合中要傳回的值數目。 默認值為 25,最大值為 100。
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
輸出
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應