Share via


az self-help discovery-solution

Note

This reference is part of the self-help extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az self-help discovery-solution command. Learn more about extensions.

Command group 'az self-help' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Discovery-solution command will help you discover available solutions based on your resource type and problem classification Id.

Commands

Name Description Type Status
az self-help discovery-solution list

List the relevant Azure diagnostics and solutions using problemClassificationId API.

Extension Preview
az self-help discovery-solution list-nlp

List the relevant Azure diagnostics and solutions using issue summary.

Extension Preview
az self-help discovery-solution list-nlp-subscription

List the relevant Azure diagnostics and solutions using issue summary.

Extension Preview

az self-help discovery-solution list

Preview

Command group 'az self-help discovery-solution' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List the relevant Azure diagnostics and solutions using problemClassificationId API.

az self-help discovery-solution list [--filter]
                                     [--max-items]
                                     [--next-token]
                                     [--skiptoken]

Examples

List DiscoverySolution results for a resource

az self-help discovery-solution list --filter "ProblemClassificationId eq '00000000-0000-0000-0000-000000000000'"

Optional Parameters

--filter

'ProblemClassificationId' or 'Id' 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'.

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

--skiptoken

Skiptoken is only used if a previous operation returned a partial result.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az self-help discovery-solution list-nlp

Preview

Command group 'az self-help discovery-solution' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List the relevant Azure diagnostics and solutions using issue summary.

az self-help discovery-solution list-nlp [--additional-context]
                                         [--issue-summary]
                                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--resource-id]
                                         [--service-id]

Examples

List DiscoverySolution results for a resource

az self-help discovery-solution list-nlp --resource-id resource-id --issue-summary issue-summary
--service-id service-id additional-context additional-context"

Optional Parameters

--additional-context

Additional Context.

--issue-summary

Issue Summary.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-id

Resource Id.

--service-id

Service Id.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az self-help discovery-solution list-nlp-subscription

Preview

Command group 'az self-help discovery-solution' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List the relevant Azure diagnostics and solutions using issue summary.

az self-help discovery-solution list-nlp-subscription --subscription-id
                                                      [--additional-context]
                                                      [--issue-summary]
                                                      [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                      [--resource-id]
                                                      [--service-id]

Examples

List DiscoverySolution results for a resource

az self-help discovery-solution list-nlp-subscription --subscription-id subscription-id --resource-id resource-id --issue-summary issue-summary
--service-id service-id additional-context additional-context"

Required Parameters

--subscription-id

Subscription Id.

Optional Parameters

--additional-context

Additional Context.

--issue-summary

Issue Summary.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-id

Resource Id.

--service-id

Service Id.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.