Del via


az network virtual-appliance site

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

Manage Azure Network Virtual Appliance Site.

Commands

Name Description Type Status
az network virtual-appliance site create

Create an Azure network virtual appliance site.

Core Preview
az network virtual-appliance site delete

Delete an Azure network virtual appliance site.

Core Preview
az network virtual-appliance site list

List all Azure network virtual appliance site.

Core Preview
az network virtual-appliance site show

Show the detail of an Azure network virtual appliance site.

Core Preview
az network virtual-appliance site update

Update an Azure network virtual appliance site.

Core Preview
az network virtual-appliance site wait

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

Core Preview

az network virtual-appliance site create

Preview

Command group 'az network virtual-appliance site' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create an Azure network virtual appliance site.

az network virtual-appliance site create --appliance-name
                                         --name
                                         --resource-group
                                         [--address-prefix]
                                         [--allow {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--default {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--optimize {0, 1, f, false, n, no, t, true, y, yes}]

Examples

Create an Azure network virtual appliance site.

az network virtual-appliance site create -n MyName -g MyRG --appliance-name MyAppliance --address-prefix 10.0.0.0/24 --allow --default --optimize

Required Parameters

--appliance-name

The name of Network Virtual Appliance.

--name -n

The name of Network Virtual Appliance Site.

--resource-group -g

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

Optional Parameters

--address-prefix

Address Prefix of Network Virtual Appliance Site.

--allow

Flag to control breakout of o365 allow category. Allowed values: false, true.

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

Flag to control breakout of o365 default category. Allowed values: false, true.

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

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

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

Flag to control breakout of o365 optimize category. Allowed values: false, true.

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 network virtual-appliance site delete

Preview

Command group 'az network virtual-appliance site' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete an Azure network virtual appliance site.

az network virtual-appliance site delete [--appliance-name]
                                         [--ids]
                                         [--name]
                                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--resource-group]
                                         [--subscription]
                                         [--yes]

Examples

Delete an Azure network virtual appliance site.

az network virtual-appliance site delete -n MySite -g MyRG --appliance-name MyName -y

Optional Parameters

--appliance-name

The name of Network Virtual Appliance.

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

--name -n

The name of Network Virtual Appliance Site.

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

--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 virtual-appliance site list

Preview

Command group 'az network virtual-appliance site' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List all Azure network virtual appliance site.

az network virtual-appliance site list --appliance-name
                                       --resource-group

Examples

List all Azure network virtual appliance site.

az network virtual-appliance site list -g MyRG --appliance-name MyName

Required Parameters

--appliance-name

The name of Network Virtual Appliance.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<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 network virtual-appliance site show

Preview

Command group 'az network virtual-appliance site' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Show the detail of an Azure network virtual appliance site.

az network virtual-appliance site show [--appliance-name]
                                       [--ids]
                                       [--name]
                                       [--resource-group]
                                       [--subscription]

Examples

Show the detail of an Azure network virtual appliance site.

az network virtual-appliance site show -n MySite -g MyRG --appliance-name MyName

Optional Parameters

--appliance-name

The name of Network Virtual Appliance.

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

--name -n

The name of Network Virtual Appliance Site.

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

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 virtual-appliance site update

Preview

Command group 'az network virtual-appliance site' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Update an Azure network virtual appliance site.

az network virtual-appliance site update [--add]
                                         [--address-prefix]
                                         [--allow {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--appliance-name]
                                         [--default {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--ids]
                                         [--name]
                                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--optimize {0, 1, f, false, n, no, t, true, y, yes}]
                                         [--remove]
                                         [--resource-group]
                                         [--set]
                                         [--subscription]

Examples

Update an Azure network virtual appliance site.

az network virtual-appliance site update -n MyName -g MyRG --appliance-name MyAppliance --address-prefix 10.0.0.0/24 --allow false --default false --optimize false

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--address-prefix

Address Prefix of Network Virtual Appliance Site.

--allow

Flag to control breakout of o365 allow category. Allowed values: false, true.

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

The name of Network Virtual Appliance.

--default

Flag to control breakout of o365 default category. Allowed values: false, true.

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

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--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.

--name -n

The name of Network Virtual Appliance Site.

--no-wait

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

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

Flag to control breakout of o365 optimize category. Allowed values: false, true.

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

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

--resource-group -g

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

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_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 network virtual-appliance site wait

Preview

Command group 'az network virtual-appliance site' 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 network virtual-appliance site wait [--appliance-name]
                                       [--created]
                                       [--custom]
                                       [--deleted]
                                       [--exists]
                                       [--ids]
                                       [--interval]
                                       [--name]
                                       [--resource-group]
                                       [--subscription]
                                       [--timeout]
                                       [--updated]

Optional Parameters

--appliance-name

The name of Network Virtual Appliance.

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

--interval

Polling interval in seconds.

Default value: 30
--name -n

The name of Network Virtual Appliance Site.

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

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