Service Classifications - classify Services
Classify the list of right Azure services.
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Support/classifyServices?api-version=2023-06-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
string |
Azure subscription Id. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Body
Name | Type | Description |
---|---|---|
additionalContext |
string |
Additional information in the form of a string. |
issueSummary |
string |
Natural language description of the customer’s issue. |
resourceId |
string (arm-id) |
ARM resource Id of the resource that is having the issue. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully classified list of Azure services. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Classify list of Azure services for a subscription
Sample request
POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Support/classifyServices?api-version=2023-06-01-preview
{
"issueSummary": "Can not connect to Windows VM",
"resourceId": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/vmname"
}
Sample response
{
"serviceClassificationResults": [
{
"serviceId": "/providers/Microsoft.Support/services/5c41904f-1bcf-76e4-7a54-5fc07468f3cc",
"displayName": "Azure Update Manager",
"resourceTypes": [
"Microsoft.HybridCompute/machines",
"Microsoft.Maintenance/maintenanceConfigurations",
"Microsoft.Maintenance/configurationAssignments",
"MICROSOFT.AUTOMATION/AUTOMATIONACCOUNTS",
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
]
},
{
"serviceId": "/providers/Microsoft.Support/services/40ef020e-8ae7-8d57-b538-9153c47cee69",
"displayName": "SQL Server in VM - Linux",
"resourceTypes": [
"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES",
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
]
}
]
}
Definitions
Name | Description |
---|---|
Classification |
Service Classification result object. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Service |
Service Classification result object. |
Service |
Output of the service classification API. |
Service |
Input to problem classification Classification API. |
ClassificationService
Service Classification result object.
Name | Type | Description |
---|---|---|
displayName |
string |
Localized name of the azure service. |
resourceTypes |
string[] |
List of applicable ARM resource types for this service. |
serviceId |
string (arm-id) |
Azure resource Id of the service. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
ServiceClassificationAnswer
Service Classification result object.
Name | Type | Description |
---|---|---|
childService |
Child service. |
|
displayName |
string |
Localized name of the azure service. |
resourceTypes |
string[] |
List of applicable ARM resource types for this service. |
serviceId |
string (arm-id) |
Azure resource Id of the service. |
ServiceClassificationOutput
Output of the service classification API.
Name | Type | Description |
---|---|---|
serviceClassificationResults |
Set of problem classification objects classified. |
ServiceClassificationRequest
Input to problem classification Classification API.
Name | Type | Description |
---|---|---|
additionalContext |
string |
Additional information in the form of a string. |
issueSummary |
string |
Natural language description of the customer’s issue. |
resourceId |
string (arm-id) |
ARM resource Id of the resource that is having the issue. |