Problem Classifications - List
列出可用于特定 Azure 服务的所有问题分类(类别)。 始终使用以编程方式获取的服务和问题分类。 这种做法可确保始终具有最新的服务和问题分类 ID 集。
GET https://management.azure.com/providers/Microsoft.Support/services/{serviceName}/problemClassifications?api-version=2024-04-01
		URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 | 
|---|---|---|---|---|
| 
						 service 
					 | 
					path | True | 
			 string  | 
					
						 Azure 服务的名称。  | 
				
| 
						 api-version 
					 | 
					query | True | 
			 string minLength: 1 | 
					
						 用于此操作的 API 版本。  | 
				
响应
| 名称 | 类型 | 说明 | 
|---|---|---|
| 200 OK | 
		 Azure作已成功完成。  | 
|
| Other Status Codes | 
		 意外错误响应。  | 
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
					类型: 
					oauth2
					流向: 
					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."
          }
        ]
      }
    }
  ]
}
				定义
| 名称 | 说明 | 
|---|---|
| 
							created | 
						
							 创建资源的标识的类型。  | 
					
| 
							Error | 
						
							 资源管理错误附加信息。  | 
					
| 
							Error | 
						
							 错误详细信息。  | 
					
| 
							Error | 
						
							 错误响应  | 
					
| 
							Problem | 
						
							 ProblemClassification 资源对象。  | 
					
| 
							Problem | 
						
							 ProblemClassification 资源的集合。  | 
					
| 
							Secondary | 
						
							 此属性指示是否存在问题分类的辅助同意。  | 
					
| 
							system | 
						
							 与创建和上次修改资源相关的元数据。  | 
					
createdByType 
			
			创建资源的标识的类型。
| 值 | 说明 | 
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key | 
ErrorAdditionalInfo  
			
			资源管理错误附加信息。
| 名称 | 类型 | 说明 | 
|---|---|---|
| info | 
			 object  | 
	
		 其他信息。  | 
| type | 
			 string  | 
	
		 其他信息类型。  | 
ErrorDetail 
			
			错误详细信息。
| 名称 | 类型 | 说明 | 
|---|---|---|
| additionalInfo | 
		 错误附加信息。  | 
|
| code | 
			 string  | 
	
		 错误代码。  | 
| details | 
		 错误详细信息。  | 
|
| message | 
			 string  | 
	
		 错误消息。  | 
| target | 
			 string  | 
	
		 错误目标。  | 
ErrorResponse 
			
			错误响应
| 名称 | 类型 | 说明 | 
|---|---|---|
| error | 
		 错误对象。  | 
ProblemClassification 
			
			ProblemClassification 资源对象。
| 名称 | 类型 | 说明 | 
|---|---|---|
| id | 
			 string (arm-id)  | 
	
		 资源的完全限定资源 ID。 例如,“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”  | 
| name | 
			 string  | 
	
		 资源的名称  | 
| properties.displayName | 
			 string  | 
	
		 问题分类的本地化名称。  | 
| properties.secondaryConsentEnabled | 
		 此属性指示是否存在问题分类的辅助同意  | 
|
| systemData | 
		 包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。  | 
|
| type | 
			 string  | 
	
		 资源类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”  | 
ProblemClassificationsListResult   
			
			ProblemClassification 资源的集合。
| 名称 | 类型 | 说明 | 
|---|---|---|
| nextLink | 
			 string  | 
	
		 指向下一页项目的链接  | 
| value | 
		 ProblemClassification 资源列表。  | 
SecondaryConsentEnabled  
			
			此属性指示是否存在问题分类的辅助同意。
| 名称 | 类型 | 说明 | 
|---|---|---|
| description | 
			 string  | 
	
		 用户同意说明。  | 
| type | 
			 string  | 
	
		 创建案例时需要辅助许可的 Azure 服务。  | 
systemData 
			
			与创建和上次修改资源相关的元数据。
| 名称 | 类型 | 说明 | 
|---|---|---|
| createdAt | 
			 string (date-time)  | 
	
		 资源创建时间戳(UTC)。  | 
| createdBy | 
			 string  | 
	
		 创建资源的标识。  | 
| createdByType | 
		 创建资源的标识的类型。  | 
|
| lastModifiedAt | 
			 string (date-time)  | 
	
		 上次修改的资源时间戳(UTC)  | 
| lastModifiedBy | 
			 string  | 
	
		 上次修改资源的标识。  | 
| lastModifiedByType | 
		 上次修改资源的标识的类型。  |