Поделиться через


Problem Classifications - List

Выводит список всех классификаций проблем (категорий), доступных для определенной службы Azure. Всегда используйте классификации служб и проблем, полученные программным способом. Эта практика гарантирует, что у вас всегда есть последний набор идентификаторов службы и классификации проблем.

GET https://management.azure.com/providers/Microsoft.Support/services/{serviceName}/problemClassifications?api-version=2024-04-01

Параметры URI

Имя В Обязательно Тип Описание
serviceName
path True

string

Имя службы Azure.

api-version
query True

string

minLength: 1

Версия API, используемая для этой операции.

Ответы

Имя Тип Описание
200 OK

ProblemClassificationsListResult

Операция Azure успешно завершена.

Other Status Codes

ErrorResponse

Непредвиденное сообщение об ошибке.

Безопасность

azure_auth

Поток OAuth2 Azure Active Directory.

Тип: oauth2
Flow: implicit
URL-адрес авторизации: https://login.microsoftonline.com/common/oauth2/authorize

Области

Имя Описание
user_impersonation олицетворения учетной записи пользователя

Примеры

Gets list of problemClassifications for a service for which a support ticket can be created

Образец запроса

GET https://management.azure.com/providers/Microsoft.Support/services/service_guid/problemClassifications?api-version=2024-04-01

Пример ответа

{
  "value": [
    {
      "name": "problemClassification_guid_1",
      "type": "Microsoft.Support/problemClassifications",
      "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_1",
      "properties": {
        "displayName": "Reservation Management / Exchanges and Refunds",
        "secondaryConsentEnabled": [
          {
            "type": "DatabricksConsent",
            "description": "For faster resolution, allow Microsoft and Databricks to temporarily have read and write access to your Databricks workspace. We will only access to read and write to your cluster for the purpose of resolving your support issue and in conformance with Microsoft's Privacy Policy."
          }
        ]
      }
    },
    {
      "name": "problemClassification_guid_2",
      "type": "Microsoft.Support/problemClassifications",
      "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_2",
      "properties": {
        "displayName": "Reservation Management / Request Invoices",
        "secondaryConsentEnabled": [
          {
            "type": "DatabricksConsent",
            "description": "For faster resolution, allow Microsoft and Databricks to temporarily have read and write access to your Databricks workspace. We will only access to read and write to your cluster for the purpose of resolving your support issue and in conformance with Microsoft's Privacy Policy."
          }
        ]
      }
    },
    {
      "name": "problemClassification_guid_3",
      "type": "Microsoft.Support/problemClassifications",
      "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_3",
      "properties": {
        "displayName": "Reservation Management / Other Iissues or Requests",
        "secondaryConsentEnabled": [
          {
            "type": "DatabricksConsent",
            "description": "For faster resolution, allow Microsoft and Databricks to temporarily have read and write access to your Databricks workspace. We will only access to read and write to your cluster for the purpose of resolving your support issue and in conformance with Microsoft's Privacy Policy."
          }
        ]
      }
    },
    {
      "name": "problemClassification_guid_4",
      "type": "Microsoft.Support/problemClassifications",
      "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_4",
      "properties": {
        "displayName": "Other General Billing Questions",
        "secondaryConsentEnabled": [
          {
            "type": "DatabricksConsent",
            "description": "For faster resolution, allow Microsoft and Databricks to temporarily have read and write access to your Databricks workspace. We will only access to read and write to your cluster for the purpose of resolving your support issue and in conformance with Microsoft's Privacy Policy."
          }
        ]
      }
    }
  ]
}

Определения

Имя Описание
createdByType

Тип удостоверения, создавшего ресурс.

ErrorAdditionalInfo

Дополнительные сведения об ошибке управления ресурсами.

ErrorDetail

Сведения об ошибке.

ErrorResponse

Ответ на ошибку

ProblemClassification

Объект ресурса ProblemClassification.

ProblemClassificationsListResult

Коллекция ресурсов ProblemClassification.

SecondaryConsentEnabled

Это свойство указывает, присутствует ли вторичное согласие для классификации проблем.

systemData

Метаданные, относящиеся к созданию и последнему изменении ресурса.

createdByType

Тип удостоверения, создавшего ресурс.

Значение Описание
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

Дополнительные сведения об ошибке управления ресурсами.

Имя Тип Описание
info

object

Дополнительные сведения.

type

string

Дополнительный тип сведений.

ErrorDetail

Сведения об ошибке.

Имя Тип Описание
additionalInfo

ErrorAdditionalInfo[]

Дополнительные сведения об ошибке.

code

string

Код ошибки.

details

ErrorDetail[]

Сведения об ошибке.

message

string

Сообщение об ошибке.

target

string

Целевой объект ошибки.

ErrorResponse

Ответ на ошибку

Имя Тип Описание
error

ErrorDetail

Объект ошибки.

ProblemClassification

Объект ресурса ProblemClassification.

Имя Тип Описание
id

string (arm-id)

Полный идентификатор ресурса для ресурса. Например, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

Имя ресурса

properties.displayName

string

Локализованное имя классификации проблем.

properties.secondaryConsentEnabled

SecondaryConsentEnabled[]

Это свойство указывает, присутствует ли вторичное согласие для классификации проблем

systemData

systemData

Метаданные Azure Resource Manager, содержащие данные createdBy и modifiedBy.

type

string

Тип ресурса. Например, "Microsoft.Compute/virtualMachines" или "Microsoft.Storage/storageAccounts"

ProblemClassificationsListResult

Коллекция ресурсов ProblemClassification.

Имя Тип Описание
nextLink

string

Ссылка на следующую страницу элементов

value

ProblemClassification[]

Список ресурсов ProblemClassification.

SecondaryConsentEnabled

Это свойство указывает, присутствует ли вторичное согласие для классификации проблем.

Имя Тип Описание
description

string

Описание согласия пользователя.

type

string

Служба Azure, для которой требуется дополнительное согласие для создания дела.

systemData

Метаданные, относящиеся к созданию и последнему изменении ресурса.

Имя Тип Описание
createdAt

string (date-time)

Временная метка создания ресурса (UTC).

createdBy

string

Удостоверение, создавшее ресурс.

createdByType

createdByType

Тип удостоверения, создавшего ресурс.

lastModifiedAt

string (date-time)

Метка времени последнего изменения ресурса (UTC)

lastModifiedBy

string

Удостоверение, которое последним изменило ресурс.

lastModifiedByType

createdByType

Тип удостоверения, которое последним изменило ресурс.