az network virtual-appliance site

Manage Azure Network Virtual Appliance Site.

Commands

az network virtual-appliance site create

Create an Azure network virtual appliance site.

az network virtual-appliance site delete

Delete an Azure network virtual appliance site.

az network virtual-appliance site list

List all Azure network virtual appliance site.

az network virtual-appliance site show

Show the detail of an Azure network virtual appliance site.

az network virtual-appliance site update

Update an Azure network virtual appliance site.

az network virtual-appliance site create

Create an Azure network virtual appliance site.

az network virtual-appliance site create --address-prefix
                                         --appliance-name
                                         --name
                                         --resource-group
                                         [--allow {false, true}]
                                         [--default {false, true}]
                                         [--optimize {false, true}]
                                         [--subscription]

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

--address-prefix

Address Prefix of Network Virtual Appliance Site.

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

--allow

Flag to control breakout of o365 allow category.

accepted values: false, true
--default

Flag to control breakout of o365 default category.

accepted values: false, true
--optimize

Flag to control breakout of o365 optimize category.

accepted values: false, true
--subscription

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

az network virtual-appliance site delete

Delete an Azure network virtual appliance site.

az network virtual-appliance site delete --appliance-name
                                         --name
                                         --resource-group
                                         [--subscription]
                                         [--yes]

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

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

az network virtual-appliance site list

List all Azure network virtual appliance site.

az network virtual-appliance site list --appliance-name
                                       --resource-group
                                       [--query-examples]
                                       [--subscription]

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

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

az network virtual-appliance site show

Show the detail of an Azure network virtual appliance site.

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

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

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

az network virtual-appliance site update

Update an Azure network virtual appliance site.

az network virtual-appliance site update --address-prefix
                                         --appliance-name
                                         --name
                                         --resource-group
                                         [--add]
                                         [--allow {false, true}]
                                         [--default {false, true}]
                                         [--force-string]
                                         [--optimize {false, true}]
                                         [--remove]
                                         [--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

Required Parameters

--address-prefix

Address Prefix of Network Virtual Appliance Site.

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

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

--allow

Flag to control breakout of o365 allow category.

accepted values: false, true
--default

Flag to control breakout of o365 default category.

accepted values: false, true
--force-string

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

--optimize

Flag to control breakout of o365 optimize category.

accepted values: false, true
--remove

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

--set

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

--subscription

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