Skip to main content

problem_classifications

Creates, updates, deletes, gets or lists a problem_classifications resource.

Overview

Nameproblem_classifications
TypeResource
Idazure.support.problem_classifications

Fields

The following fields are returned by SELECT queries:

Successfully retrieved problem classification details.

NameDatatypeDescription
idstringId of the resource.
namestringName of the resource.
propertiesobjectProperties of the resource.
typestringType of the resource 'Microsoft.Support/problemClassification'.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectserviceName, problemClassificationNameGet problem classification details for a specific Azure service.
listselectserviceNameLists 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_problemsexecsubscriptionId, problemServiceName, issueSummaryClassify 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.

NameDatatypeDescription
problemClassificationNamestringName of problem classification.
problemServiceNamestringName of the Azure service for which the problem classifications need to be retrieved.
serviceNamestringName of the Azure service for which the problem classifications need to be retrieved.
subscriptionIdstringAzure subscription Id.

SELECT examples

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
;

Lifecycle Methods

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 }}"
}'
;