Freigeben über


az arc-multicloud solution-configuration

Note

This reference is part of the multicloud-connector extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az arc-multicloud solution-configuration command. Learn more about extensions.

Commands for solution-configuration.

For additional details, please visit the https://learn.microsoft.com/en-us/cli/azure/arc-multicloud?view=azure-cli-latest.

Commands

Name Description Type Status
az arc-multicloud solution-configuration create

Create a SolutionConfiguration.

Extension GA
az arc-multicloud solution-configuration delete

Delete a SolutionConfiguration.

Extension GA
az arc-multicloud solution-configuration list

List SolutionConfiguration resources by parent public cloud connector.

Extension GA
az arc-multicloud solution-configuration show

Get a SolutionConfiguration.

Extension GA
az arc-multicloud solution-configuration sync-now

Trigger immediate sync with source cloud.

Extension GA
az arc-multicloud solution-configuration update

Update a SolutionConfiguration.

Extension GA

az arc-multicloud solution-configuration create

Create a SolutionConfiguration.

az arc-multicloud solution-configuration create --connector-id
                                                --name
                                                [--solution-settings]
                                                [--solution-type]

Examples

SolutionConfigurations_CreateOrUpdate

az arc-multicloud solution-configuration create --connector-id /subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{} --name mySolutionConfig --solution-type "Microsoft.AssetManagement" --solution-settings periodicSync="true" cloudProviderServiceTypes="ec2,s3" awsGlobalReadOnly="true" cloudProviderRegions="us-east-1,us-east-2" periodicSyncTime="1"

SolutionConfigurations_CreateOrUpdate

az arc-multicloud solution-configuration create --connector-id /subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{} --name mySolutionConfig --solution-type "Microsoft.HybridCompute.Onboard" --solution-settings periodicSync="true" cloudProviderRegions="us-east-1,us-east-2" periodicSyncTime="1"

Required Parameters

--connector-id

The fully qualified Azure Resource manager identifier of the resource.

--name -n

Represent Solution Configuration Resource Name.

Optional Parameters

--solution-settings

Solution settings Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--solution-type

The type of the solution.

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 arc-multicloud solution-configuration delete

Delete a SolutionConfiguration.

az arc-multicloud solution-configuration delete --connector-id
                                                --name
                                                [--yes]

Examples

SolutionConfigurations_Delete

az arc-multicloud solution-configuration delete --connector-id  /subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{} --name mySolutionConfig

Required Parameters

--connector-id

The fully qualified Azure Resource manager identifier of the resource.

--name -n

Represent Solution Configuration Resource Name.

Optional Parameters

--yes -y

Do not prompt for confirmation.

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.

az arc-multicloud solution-configuration list

List SolutionConfiguration resources by parent public cloud connector.

az arc-multicloud solution-configuration list --connector-id
                                              [--max-items]
                                              [--next-token]

Examples

SolutionConfigurations_List

az arc-multicloud solution-configuration list --connector-id /subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{}

Required Parameters

--connector-id

The fully qualified Azure Resource manager identifier of the resource.

Optional Parameters

--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.

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 arc-multicloud solution-configuration show

Get a SolutionConfiguration.

az arc-multicloud solution-configuration show --connector-id
                                              --name

Examples

SolutionConfigurations_Get

az arc-multicloud solution-configuration show --connector-id /subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{} --name mySolutionConfig

Required Parameters

--connector-id

The fully qualified Azure Resource manager identifier of the resource.

--name -n

Represent Solution Configuration 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 arc-multicloud solution-configuration sync-now

Trigger immediate sync with source cloud.

az arc-multicloud solution-configuration sync-now --connector-id
                                                  --name
                                                  [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Examples

SolutionConfigurations_SyncNow

az arc-multicloud solution-configuration sync-now --connector-id /subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{} --name mySolutionConfig

Required Parameters

--connector-id

The fully qualified Azure Resource manager identifier of the resource.

--name -n

Represent Solution Configuration Resource Name.

Optional Parameters

--no-wait

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
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 arc-multicloud solution-configuration update

Update a SolutionConfiguration.

az arc-multicloud solution-configuration update --connector-id
                                                --name
                                                [--solution-settings]
                                                [--solution-type]

Examples

SolutionConfigurations_Update

az arc-multicloud solution-configuration update --connector-id /subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{} --name mySolutionConfig --solution-type "Microsoft.AssetManagement" --solution-settings periodicSync="true" cloudProviderServiceTypes="ec2,s3" awsGlobalReadOnly="true" cloudProviderRegions="us-east-1,us-east-2" periodicSyncTime="1"

Required Parameters

--connector-id

The fully qualified Azure Resource manager identifier of the resource.

--name -n

Represent Solution Configuration Resource.

Optional Parameters

--solution-settings

Solution settings Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--solution-type

The type of the solution.

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.