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
| Name | Datatype | Description |
|---|---|---|
id | string | Id of the resource. |
name | string | Name of the resource. |
displayName | string | Localized name of problem classification. |
secondaryConsentEnabled | array | This property indicates whether secondary consent is present for problem classification. |
type | string | Type of the resource 'Microsoft.Support/problemClassification'. |
| Name | Datatype | Description |
|---|---|---|
id | string | Id of the resource. |
name | string | Name of the resource. |
displayName | string | Localized name of problem classification. |
secondaryConsentEnabled | array | This property indicates whether secondary consent is present for problem classification. |
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 | service_name, problem_classification_name | Get problem classification details for a specific Azure service. | |
list | select | service_name | 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. |
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 |
|---|---|---|
problem_classification_name | string | Name of problem classification. Required. |
service_name | string | Name of the Azure service for which the problem classifications need to be retrieved. Required. |
SELECT examples
- get
- list
Get problem classification details for a specific Azure service.
SELECT
id,
name,
displayName,
secondaryConsentEnabled,
type
FROM azure.support.problem_classifications
WHERE service_name = '{{ service_name }}' -- required
AND problem_classification_name = '{{ problem_classification_name }}' -- 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,
displayName,
secondaryConsentEnabled,
type
FROM azure.support.problem_classifications
WHERE service_name = '{{ service_name }}' -- required
;