Skip to main content

troubleshooters

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

Overview

Nametroubleshooters
TypeResource
Idazure_extras.help.troubleshooters

Fields

NameDatatypeDescription
parameterstextfield from the properties object
provisioning_statetextfield from the properties object
scopetextfield from the properties object
solution_idtextfield from the properties object
stepstextfield from the properties object
troubleshooterNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTscope, troubleshooterNameGets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.
Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.
createINSERTscope, troubleshooterNameCreates the specific troubleshooter action under a resource or subscription using the ‘solutionId’ and ‘properties.parameters’ as the trigger.
Azure Troubleshooters help with hard to classify issues, reducing the gap between customer observed problems and solutions by guiding the user effortlessly through the troubleshooting process. Each Troubleshooter flow represents a problem area within Azure and has a complex tree-like structure that addresses many root causes. These flows are prepared with the help of Subject Matter experts and customer support engineers by carefully considering previous support requests raised by customers. Troubleshooters terminate at a well curated solution based off of resource backend signals and customer manual selections.
continueEXECscope, troubleshooterNameUses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name.
Continue API is used to provide inputs that are required for the specific troubleshooter to progress into the next step in the process. This API is used after the Troubleshooter has been created using the Create API.
endEXECscope, troubleshooterNameEnds the troubleshooter action
restartEXECscope, troubleshooterNameRestarts the troubleshooter API using applicable troubleshooter resource name as the input.
It returns new resource name which should be used in subsequent request. The old resource name is obsolete after this API is invoked.

SELECT examples

Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.
Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.

SELECT
parameters,
provisioning_state,
scope,
solution_id,
steps,
troubleshooterName
FROM azure_extras.help.vw_troubleshooters
WHERE scope = '{{ scope }}'
AND troubleshooterName = '{{ troubleshooterName }}';

INSERT example

Use the following StackQL query and manifest file to create a new troubleshooters resource.

/*+ create */
INSERT INTO azure_extras.help.troubleshooters (
scope,
troubleshooterName,
properties
)
SELECT
'{{ scope }}',
'{{ troubleshooterName }}',
'{{ properties }}'
;