Skip to main content

discovery_solution

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

Overview

Namediscovery_solution
TypeResource
Idazure_extras.self_help.discovery_solution

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long
namestringThe name of the resource.
solutionsarrayList of metadata.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselect$filter, $skiptokenLists 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.

NameDatatypeDescription
$filterstring'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.
$skiptokenstringSkiptoken is only used if a previous operation returned a partial result. Default value is None.

SELECT examples

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