discovery_solution
Creates, updates, deletes, gets or lists a discovery_solution resource.
Overview
| Name | discovery_solution |
| Type | Resource |
| Id | azure_extras.self_help.discovery_solution |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long |
name | string | The name of the resource. |
solutions | array | List of metadata. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | $filter, $skiptoken | Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using problemClassification API \ ) AND resourceUri or resourceType. Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. Required Input : problemClassificationId (Use the problemClassification API \ ) Optional input: resourceUri OR resource Type Note: ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API. |
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 |
|---|---|---|
$filter | string | 'ProblemClassificationId' is a mandatory filter to get solutions ids. It also supports optional 'ResourceType' and 'SolutionType' filters. The $filter _ supports only 'and', 'or' and 'eq' operators. Example: $filter=ProblemClassificationId eq '1ddda5b4-cf6c-4d4f-91ad-bc38ab0e811e'. Default value is None. |
$skiptoken | string | Skiptoken is only used if a previous operation returned a partial result. Default value is None. |
SELECT examples
- list
Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using problemClassification API \ ) AND resourceUri or resourceType. Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. Required Input : problemClassificationId (Use the problemClassification API \ ) Optional input: resourceUri OR resource Type Note: ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API.
SELECT
id,
name,
solutions,
systemData,
type
FROM azure_extras.self_help.discovery_solution
WHERE $filter = '{{ $filter }}'
AND $skiptoken = '{{ $skiptoken }}'
;