你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az network manager verifier-workspace reachability-analysis-intent

Note

This reference is part of the virtual-network-manager extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az network manager verifier-workspace reachability-analysis-intent command. Learn more about extensions.

Manage reachability analysis intent with network.

Commands

Name Description Type Status
az network manager verifier-workspace reachability-analysis-intent create

Create Reachability Analysis Intent.

Extension GA
az network manager verifier-workspace reachability-analysis-intent delete

Delete Reachability Analysis Intent.

Extension GA
az network manager verifier-workspace reachability-analysis-intent list

List list of Reachability Analysis Intents .

Extension GA
az network manager verifier-workspace reachability-analysis-intent show

Get the Reachability Analysis Intent.

Extension GA

az network manager verifier-workspace reachability-analysis-intent create

Create Reachability Analysis Intent.

az network manager verifier-workspace reachability-analysis-intent create --dest-resource-id
                                                                          --ip-traffic
                                                                          --manager-name
                                                                          --name
                                                                          --resource-group
                                                                          --source-resource-id
                                                                          --workspace-name
                                                                          [--description]

Examples

ReachabilityAnalysisIntentCreate

az network manager verifier-workspace reachability-analysis-intent create --name "myAnalysisIntent” --workspace-name "myVerifierWorkspace" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --subscription "00000000-0000-0000-0000-000000000000" --description “hello world intent” --source-resource-id “/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc” --destination-resource-id “/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest” --ip-traffic "{source-ips:["10.0.0.0/16”, “12.0.0.0”],destination-ips:["12.0.0.0/8”, “10.0.0.0”],source-ports:["20”, “23”],destination-ports:["80”, “81”],protocols:["TCP”, “UDP”]}"

Required Parameters

--dest-resource-id --destination-resource-id

Destination resource id to verify the reachability path of.

--ip-traffic

IP traffic information. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--manager-name --network-manager-name

The name of the network manager.

--name --reachability-analysis-intent-name -n

Reachability Analysis Intent name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--source-resource-id

Source resource id to verify the reachability path of.

--workspace-name

Workspace name.

Optional Parameters

--description

Description of the resource.

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 network manager verifier-workspace reachability-analysis-intent delete

Delete Reachability Analysis Intent.

az network manager verifier-workspace reachability-analysis-intent delete [--ids]
                                                                          [--manager-name]
                                                                          [--name]
                                                                          [--resource-group]
                                                                          [--subscription]
                                                                          [--workspace-name]
                                                                          [--yes]

Examples

ReachabilityAnalysisIntentDelete

az network manager verifier-workspace reachability-analysis-intent delete --name “myAnalysisIntent” --workspace-name "myVerifierWorkspace" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --subscription "00000000-0000-0000-0000-000000000000"

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--manager-name --network-manager-name

The name of the network manager.

--name --reachability-analysis-intent-name -n

Reachability Analysis Intent name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

--workspace-name

Workspace name.

--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 network manager verifier-workspace reachability-analysis-intent list

List list of Reachability Analysis Intents .

az network manager verifier-workspace reachability-analysis-intent list --manager-name
                                                                        --resource-group
                                                                        --workspace-name
                                                                        [--max-items]
                                                                        [--next-token]
                                                                        [--skip]
                                                                        [--skip-token]
                                                                        [--sort-key]
                                                                        [--sort-value]
                                                                        [--top]

Examples

ReachabilityAnalysisIntentList

az network manager verifier-workspace reachability-analysis-intent list --workspace-name "myVerifierWorkspace" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --subscription "00000000-0000-0000-0000-000000000000"

Required Parameters

--manager-name --network-manager-name

The name of the network manager.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--workspace-name

Workspace name.

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.

--skip

Optional num entries to skip.

Default value: 0
--skip-token

Optional skip token.

--sort-key

Optional key by which to sort.

--sort-value

Optional sort value for pagination.

--top

Optional num entries to show.

Default value: 50
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 network manager verifier-workspace reachability-analysis-intent show

Get the Reachability Analysis Intent.

az network manager verifier-workspace reachability-analysis-intent show [--ids]
                                                                        [--manager-name]
                                                                        [--name]
                                                                        [--resource-group]
                                                                        [--subscription]
                                                                        [--workspace-name]

Examples

ReachabilityAnalysisIntentGet

az network manager verifier-workspace reachability-analysis-intent show --name "myAnalysisIntent" --workspace-name "myVerifierWorkspace" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --subscription "00000000-0000-0000-0000-000000000000"

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--manager-name --network-manager-name

The name of the network manager.

--name --reachability-analysis-intent-name -n

Reachability Analysis Intent name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

--workspace-name

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