Dijeli putem


az self-help simplified-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 simplified-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

Simplified solution command will help you create simple solutions for azure resources.

Commands

Name Description Type Status
az self-help simplified-solution create

Create a simplified solution for the specific Azure resource or subscription using solutionId from discovery solutions.

Extension Preview
az self-help simplified-solution show

Get the solution using the applicable solutionResourceName while creating the solution.

Extension Preview
az self-help simplified-solution wait

Place the CLI in a waiting state until a condition is met.

Extension Preview

az self-help simplified-solution create

Preview

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

Create a simplified solution for the specific Azure resource or subscription using solutionId from discovery solutions.

az self-help simplified-solution create --scope
                                        --solution-name
                                        [--content]
                                        [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                        [--parameters]
                                        [--provisioning-state {Canceled, Failed, Succeeded}]
                                        [--solution-id]
                                        [--title]

Examples

Create Simplified Solution at Resource Level

az self-help simplified_solution create --solution-name solution-name --solution-id apollo-cognitve-search-custom-skill --parameters {} --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'

Required Parameters

--scope

This is an extension resource provider and only resource level extension is supported at the moment.

--solution-name

Solution resource Name.

Optional Parameters

--content

The HTML content that needs to be rendered and shown to customer.

--no-wait

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--parameters

Client input parameters to run Solution Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--provisioning-state

Status of solution provisioning.

Accepted values: Canceled, Failed, Succeeded
--solution-id

Solution Id to identify single solution.

--title

The title.

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 simplified-solution show

Preview

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

Get the solution using the applicable solutionResourceName while creating the solution.

az self-help simplified-solution show --scope
                                      --solution-name

Examples

Show Solution at Resource Level

az self-help simplified-solution show --solution-name solution-name --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'

Required Parameters

--scope

This is an extension resource provider and only resource level extension is supported at the moment.

--solution-name

Solution resource Name.

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 simplified-solution wait

Preview

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

Place the CLI in a waiting state until a condition is met.

az self-help simplified-solution wait --scope
                                      --solution-name
                                      [--created]
                                      [--custom]
                                      [--deleted]
                                      [--exists]
                                      [--interval]
                                      [--timeout]
                                      [--updated]

Required Parameters

--scope

This is an extension resource provider and only resource level extension is supported at the moment.

--solution-name

Solution resource Name.

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

Default value: False
--interval

Polling interval in seconds.

Default value: 30
--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
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.