你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Support Tickets - Get

获取 Azure 订阅的票证详细信息。 支持票证数据在票证创建后的 18 个月内可用。 如果在 18 个多月前创建了票证,则对数据的请求可能会导致错误。

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}?api-version=2024-04-01

URI 参数

名称 必需 类型 说明
subscriptionId
path True

string (uuid)

目标订阅的 ID。 该值必须是 UUID。

supportTicketName
path True

string

SupportTicketDetails 的名称

api-version
query True

string

minLength: 1

用于此操作的 API 版本。

响应

名称 类型 说明
200 OK

SupportTicketDetails

Azure作已成功完成。

Other Status Codes

ErrorResponse

意外错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

类型: oauth2
流向: implicit
授权 URL: https://login.microsoftonline.com/common/oauth2/authorize

作用域

名称 说明
user_impersonation 模拟用户帐户

示例

Get details of a subscription ticket

示例请求

GET https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket?api-version=2024-04-01

示例响应

{
  "name": "testticket",
  "type": "Microsoft.Support/supportTickets",
  "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket",
  "properties": {
    "description": "This is a test - please ignore",
    "advancedDiagnosticConsent": "No",
    "contactDetails": {
      "country": "USA",
      "firstName": "abc",
      "lastName": "xyz",
      "preferredContactMethod": "email",
      "preferredSupportLanguage": "en-US",
      "preferredTimeZone": "Pacific Standard Time",
      "primaryEmailAddress": "abc@contoso.com"
    },
    "createdDate": "2020-03-20T21:36:18Z",
    "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066",
    "modifiedDate": "2020-03-20T21:36:23Z",
    "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
    "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid",
    "require24X7Response": false,
    "serviceDisplayName": "Subscription management",
    "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid",
    "serviceLevelAgreement": {
      "expirationTime": "2020-03-21T17:36:18Z",
      "slaMinutes": 240,
      "startTime": "2020-03-20T21:36:18Z"
    },
    "severity": "minimal",
    "status": "Open",
    "supportEngineer": {
      "emailAddress": "xyz@contoso.com"
    },
    "supportPlanDisplayName": "Premier",
    "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
    "supportPlanType": "Premier",
    "supportTicketId": "118032014183770",
    "title": "Test - please ignore"
  }
}

定义

名称 说明
Consent

在支持票证上更新高级诊断同意。

ContactProfile

与支持票证关联的联系信息。

createdByType

创建资源的标识的类型。

ErrorAdditionalInfo

资源管理错误附加信息。

ErrorDetail

错误详细信息。

ErrorResponse

错误响应

IsTemporaryTicket

此属性指示支持票证是否为临时票证。

PreferredContactMethod

首选联系人方法。

QuotaChangeRequest

提供区域和新配额限制需要此属性。

QuotaTicketDetails

某些配额类型(例如虚拟机核心)增加配额支持票证所需的其他信息集。 获取有关配额有效负载支持请求的完整详细信息,以及 支持配额请求中的示例。

SecondaryConsent

此属性指示支持票证的辅助同意。

ServiceLevelAgreement

支持票证的服务级别协议详细信息。

SeverityLevel

一个值,指示案例的紧迫性,这反过来又根据与 Azure 签订的技术支持计划的服务级别协议来确定响应时间。 注意:“最高严重影响”,也称为 Azure 门户中的“紧急 - 严重影响”级别仅保留给高级客户。

SupportEngineer

支持工程师信息。

SupportTicketDetails

表示 SupportTicketDetails 资源的对象。

systemData

与创建和上次修改资源相关的元数据。

TechnicalTicketDetails

有关技术支持票证的其他信息。

UserConsent

提供的用户同意值

在支持票证上更新高级诊断同意。

说明
Yes
No

ContactProfile

与支持票证关联的联系信息。

名称 类型 说明
additionalEmailAddresses

string[]

在有关支持票证的任何信件中,将复制列出的其他电子邮件地址。

country

string

用户的国家/地区。 这是 ISO 3166-1 alpha-3 代码。

firstName

string

名字。

lastName

string

姓。

phoneNumber

string

电话号码。 如果首选的联系人方法是电话,则需要这样做。 提交“critical”或“highestcriticalimpact”严重性案例时,也需要它。

preferredContactMethod

PreferredContactMethod

首选联系人方法。

preferredSupportLanguage

string

Azure 中的首选支持语言。 支持语言因为支持票证选择的严重性而异。 在 Azure 严重性和响应能力中了解详细信息。 使用标准语言国家/地区代码。 有效值为英语的“en-us”、西班牙语的“es-es”、“法语fr-fr”、“日语ja-jp”、“朝鲜语ko-kr”、“俄语ru-ru”、“pt-br”、“葡萄牙语”、“it-it”、“it-it”、“中文zh-tw”、“德语de-de”。

preferredTimeZone

string

用户的时区。 这是Microsoft 时区索引值中时区的名称。

primaryEmailAddress

string

主要电子邮件地址。

createdByType

创建资源的标识的类型。

说明
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

资源管理错误附加信息。

名称 类型 说明
info

object

其他信息。

type

string

其他信息类型。

ErrorDetail

错误详细信息。

名称 类型 说明
additionalInfo

ErrorAdditionalInfo[]

错误附加信息。

code

string

错误代码。

details

ErrorDetail[]

错误详细信息。

message

string

错误消息。

target

string

错误目标。

ErrorResponse

错误响应

名称 类型 说明
error

ErrorDetail

错误对象。

IsTemporaryTicket

此属性指示支持票证是否为临时票证。

说明
Yes
No

PreferredContactMethod

首选联系人方法。

说明
email
phone

QuotaChangeRequest

提供区域和新配额限制需要此属性。

名称 类型 说明
payload

string

配额增加请求的有效负载。

region

string

要为其发出配额增加请求的区域。

QuotaTicketDetails

某些配额类型(例如虚拟机核心)增加配额支持票证所需的其他信息集。 获取有关配额有效负载支持请求的完整详细信息,以及 支持配额请求中的示例。

名称 类型 说明
quotaChangeRequestSubType

string

当有子类型(例如 Batch)请求增加配额时,某些配额类型是必需的。

quotaChangeRequestVersion

string

配额更改请求版本。

quotaChangeRequests

QuotaChangeRequest[]

提供区域和新配额限制需要此属性。

SecondaryConsent

此属性指示支持票证的辅助同意。

名称 类型 说明
type

string

正在为其提供辅助许可的服务名称。 需要从问题分类 API 响应中检索该值。

userConsent

UserConsent

提供的用户同意值

ServiceLevelAgreement

支持票证的服务级别协议详细信息。

名称 类型 说明
expirationTime

string (date-time)

服务级别协议到期的时间(ISO 8601 格式)。

slaMinutes

integer (int32)

服务级别协议(以分钟为单位)。

startTime

string (date-time)

服务级别协议启动时采用 UTC 时间(ISO 8601 格式)。

SeverityLevel

一个值,指示案例的紧迫性,这反过来又根据与 Azure 签订的技术支持计划的服务级别协议来确定响应时间。 注意:“最高严重影响”,也称为 Azure 门户中的“紧急 - 严重影响”级别仅保留给高级客户。

说明
minimal
moderate
critical
highestcriticalimpact

SupportEngineer

支持工程师信息。

名称 类型 说明
emailAddress

string

分配给支持票证的 Azure 支持工程师的电子邮件地址。

SupportTicketDetails

表示 SupportTicketDetails 资源的对象。

名称 类型 说明
id

string (arm-id)

资源的完全限定资源 ID。 例如,“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”

name

string

资源的名称

properties.advancedDiagnosticConsent

Consent

在支持票证上更新高级诊断同意。

properties.contactDetails

ContactProfile

请求创建支持票证的用户的联系信息。

properties.createdDate

string (date-time)

创建支持票证的时间(ISO 8601 格式)。

properties.description

string

问题的详细描述。

properties.enrollmentId

string

与支持票证关联的注册 ID。

properties.fileWorkspaceName

string

文件工作区名称。

properties.isTemporaryTicket

IsTemporaryTicket

此属性指示支持票证是否为临时票证。

properties.modifiedDate

string (date-time)

上次修改支持票证的时间(ISO 8601 格式)。

properties.problemClassificationDisplayName

string

问题分类的本地化名称。

properties.problemClassificationId

string

每个 Azure 服务都有自己的一组问题类别,也称为问题分类。 此参数是所遇到的问题类型的唯一 ID。

properties.problemScopingQuestions

string

与支持票证关联的问题范围问题。

properties.problemStartTime

string (date-time)

问题开始的时间(ISO 8601 格式)。

properties.quotaTicketDetails

QuotaTicketDetails

与配额支持票证请求关联的其他票证详细信息。

properties.require24X7Response

boolean

指示这是否需要来自 Azure 的 24x7 响应。

properties.secondaryConsent

SecondaryConsent[]

此属性指示支持票证的辅助同意

properties.serviceDisplayName

string

Azure 服务的本地化名称。

properties.serviceId

string

这是与支持票证关联的 Azure 服务资源的资源 ID。

properties.serviceLevelAgreement

ServiceLevelAgreement

此支持票证的服务级别协议信息。

properties.severity

SeverityLevel

一个值,指示案例的紧迫性,这反过来又根据与 Azure 签订的技术支持计划的服务级别协议来确定响应时间。 注意:“最高严重影响”,也称为 Azure 门户中的“紧急 - 严重影响”级别仅保留给高级客户。

properties.status

string

支持票证的状态。

properties.supportEngineer

SupportEngineer

有关处理此支持票证的支持工程师的信息。

properties.supportPlanDisplayName

string

与支持票证关联的支持计划类型。

properties.supportPlanId

string

与支持票证关联的支持计划 ID。

properties.supportPlanType

string

与支持票证关联的支持计划类型。

properties.supportTicketId

string

系统生成的支持票证 ID 是唯一的。

properties.technicalTicketDetails

TechnicalTicketDetails

与技术支持票证请求关联的其他票证详细信息。

properties.title

string

支持票证的标题。

systemData

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。

type

string

资源类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

systemData

与创建和上次修改资源相关的元数据。

名称 类型 说明
createdAt

string (date-time)

资源创建时间戳(UTC)。

createdBy

string

创建资源的标识。

createdByType

createdByType

创建资源的标识的类型。

lastModifiedAt

string (date-time)

上次修改的资源时间戳(UTC)

lastModifiedBy

string

上次修改资源的标识。

lastModifiedByType

createdByType

上次修改资源的标识的类型。

TechnicalTicketDetails

有关技术支持票证的其他信息。

名称 类型 说明
resourceId

string

这是 Azure 服务资源的资源 ID(例如:创建支持票证的虚拟机资源或 HDInsight 资源)。

UserConsent

提供的用户同意值

说明
Yes
No