problem_classifications
Creates, updates, deletes, gets or lists a problem_classifications
resource.
Overview
Name | problem_classifications |
Type | Resource |
Id | azure.support.problem_classifications |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successfully retrieved problem classification details.
Name | Datatype | Description |
---|---|---|
id | string | Id of the resource. |
name | string | Name of the resource. |
properties | object | Properties of the resource. |
type | string | Type of the resource 'Microsoft.Support/problemClassification'. |
Successfully retrieved list of problem classifications for the specified Azure service.
Name | Datatype | Description |
---|---|---|
id | string | Id of the resource. |
name | string | Name of the resource. |
properties | object | Properties of the resource. |
type | string | Type of the resource 'Microsoft.Support/problemClassification'. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | serviceName , problemClassificationName | Get problem classification details for a specific Azure service. | |
list | select | serviceName | Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. | |
classify_problems | exec | subscriptionId , problemServiceName , issueSummary | Classify the right problem classifications (categories) available for a specific Azure service. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
problemClassificationName | string | Name of problem classification. |
problemServiceName | string | Name of the Azure service for which the problem classifications need to be retrieved. |
serviceName | string | Name of the Azure service for which the problem classifications need to be retrieved. |
subscriptionId | string | Azure subscription Id. |
SELECT
examples
- get
- list
Get problem classification details for a specific Azure service.
SELECT
id,
name,
properties,
type
FROM azure.support.problem_classifications
WHERE serviceName = '{{ serviceName }}' -- required
AND problemClassificationName = '{{ problemClassificationName }}' -- required
;
Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.
SELECT
id,
name,
properties,
type
FROM azure.support.problem_classifications
WHERE serviceName = '{{ serviceName }}' -- required
;
Lifecycle Methods
- classify_problems
Classify the right problem classifications (categories) available for a specific Azure service.
EXEC azure.support.problem_classifications.classify_problems
@subscriptionId='{{ subscriptionId }}' --required,
@problemServiceName='{{ problemServiceName }}' --required
@@json=
'{
"issueSummary": "{{ issueSummary }}",
"resourceId": "{{ resourceId }}"
}'
;