共用方式為


Update-AzSupportTicket

此 API 可讓您更新支援票證中的嚴重性層級、票證狀態、進階診斷同意和連絡資訊。<br/br/><>Note:如果支援票證正由 Azure 支援 工程師主動處理,則無法變更嚴重性層級。 在這種情況下,請連絡支持工程師,以使用通訊 API 新增通訊來要求嚴重性更新。

語法

Update-AzSupportTicket
      -Name <String>
      [-SubscriptionId <String>]
      [-AdvancedDiagnosticConsent <String>]
      [-ContactDetailAdditionalEmailAddress <String[]>]
      [-ContactDetailCountry <String>]
      [-ContactDetailFirstName <String>]
      [-ContactDetailLastName <String>]
      [-ContactDetailPhoneNumber <String>]
      [-ContactDetailPreferredContactMethod <String>]
      [-ContactDetailPreferredSupportLanguage <String>]
      [-ContactDetailPreferredTimeZone <String>]
      [-ContactDetailPrimaryEmailAddress <String>]
      [-SecondaryConsent <ISecondaryConsent[]>]
      [-Severity <String>]
      [-Status <String>]
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzSupportTicket
      -InputObject <ISupportIdentity>
      [-AdvancedDiagnosticConsent <String>]
      [-ContactDetailAdditionalEmailAddress <String[]>]
      [-ContactDetailCountry <String>]
      [-ContactDetailFirstName <String>]
      [-ContactDetailLastName <String>]
      [-ContactDetailPhoneNumber <String>]
      [-ContactDetailPreferredContactMethod <String>]
      [-ContactDetailPreferredSupportLanguage <String>]
      [-ContactDetailPreferredTimeZone <String>]
      [-ContactDetailPrimaryEmailAddress <String>]
      [-SecondaryConsent <ISecondaryConsent[]>]
      [-Severity <String>]
      [-Status <String>]
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

此 API 可讓您更新支援票證中的嚴重性層級、票證狀態、進階診斷同意和連絡資訊。<br/br/><>Note:如果支援票證正由 Azure 支援 工程師主動處理,則無法變更嚴重性層級。 在這種情況下,請連絡支持工程師,以使用通訊 API 新增通訊來要求嚴重性更新。

範例

範例 1: - 更新 訂用帳戶層級的支援票證

Update-AzSupportTicket -Name "test12345678" -Status "Closed"

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 6:48:38 AM
Description                                : test ticket - please ignore and close
EnrollmentId                               :
FileWorkspaceName                          : 2402220010002574
Id                                         : /subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Su
                                             pport/supportTickets/test12345678
ModifiedDate                               : 2/22/2024 7:00:10 AM
Name                                       : test12345678
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 10:00:00 PM
ServiceLevelAgreementSlaMinute             : 480
ServiceLevelAgreementStartTime             : 2/22/2024 6:48:38 AM
Severity                                   : Minimal
Status                                     : Closed
SupportEngineerEmailAddress                :
SupportPlanDisplayName                     : Azure Support Plan - Internal
SupportPlanId                              : U291cmNlOkVBLFN1YnNjcmlwdGlvbklkOjc2Q0I3N0ZBLThCMTctNEVBQi05NDkzLUI2NURBQ0
                                             U5OTgxMyxPZmZlcklkOk1TLUFaUi0wMDE1UCxTb3ZlcmVpZ25DbG91ZDpQdWJsaWMs
SupportPlanType                            : Azure Internal
SupportTicketId                            : 2402220010002574
TechnicalTicketDetailResourceId            :
Title                                      : test ticket - please ignore and close
Type                                       : Microsoft.Support/supportTickets

此 API 可讓您更新支援票證中的嚴重性層級、票證狀態、進階診斷同意和連絡資訊。

參數

-AdvancedDiagnosticConsent

在支援票證上更新進階診斷同意。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Confirm

執行 Cmdlet 之前先提示您確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailAdditionalEmailAddress

列出的電子郵件位址將會在任何有關支援票證的信件上複製。

類型:String[]
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailCountry

用戶的國家/地區。 這是 ISO 3166-1 alpha-3 程式代碼。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailFirstName

名字。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailLastName

姓氏。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailPhoneNumber

電話號碼。 如果慣用的連絡方法是電話,則需要此專案。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailPreferredContactMethod

慣用的連絡方法。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailPreferredSupportLanguage

Azure 中慣用的支持語言。 支援語言會根據您為支援票證選擇的嚴重性而有所不同。 深入瞭解 Azure 嚴重性和回應性。 使用標準語言國家/地區代碼。 有效的值為英文的 'en-us'、中文的 'zh-hans' 、西班牙文的 'es-es' 、法文的 'fr-fr' 、日文的 'ja-jp' 、俄文的 'ko-kr' 、葡萄牙文的 'pt-br' 、義大利文的 'zh-tw' 和德文的 'de-de'。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailPreferredTimeZone

用戶的時區。 這是 Microsoft 時區索引值中的時區名稱。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ContactDetailPrimaryEmailAddress

主要電子郵件位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

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

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

Identity 參數

類型:ISupportIdentity
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Name

支援票證名稱。

類型:String
別名:SupportTicketName
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-SecondaryConsent

此屬性表示支援票證的次要同意

類型:ISecondaryConsent[]
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Severity

嚴重性等級:

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Status

票證上要更新的狀態。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-SubscriptionId

目標訂用帳戶的標識碼。 此值必須是 UUID。

類型:String
Position:Named
預設值:(Get-AzContext).Subscription.Id
必要:False
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示執行 Cmdlet 後會發生的情況。 未執行 Cmdlet。

類型:SwitchParameter
別名:wi
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

ISupportIdentity

輸出

ISupportTicketDetails