az network vnet tap

Note

This reference is part of the virtual-network-tap extension for the Azure CLI (version 2.0.46 or higher). The extension will automatically install the first time you run an az network vnet tap command. Learn more about extensions.

Manage virtual network taps.

Commands

az network vnet tap create

Create a virtual network tap.

az network vnet tap delete

Delete a virtual network tap.

az network vnet tap list

List virtual network taps.

az network vnet tap show

Get the details of a virtual network tap.

az network vnet tap update

Update settings of a virtual network tap.

az network vnet tap create

Create a virtual network tap.

az network vnet tap create --destination
                           --name
                           --resource-group
                           [--location]
                           [--port]
                           [--tags]

Required Parameters

--destination

ID of the ILB or NIC IP configuration to receive the tap.

--name -n

Name of the VNet TAP.

--resource-group -g

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

Optional Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--port

The VXLAN port that will receive the tapped traffic.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

az network vnet tap delete

Delete a virtual network tap.

az network vnet tap delete --name
                           --resource-group

Required Parameters

--name -n

Name of the VNet TAP.

--resource-group -g

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

az network vnet tap list

List virtual network taps.

az network vnet tap list [--resource-group]

Optional Parameters

--resource-group -g

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

az network vnet tap show

Get the details of a virtual network tap.

az network vnet tap show --name
                         --resource-group

Required Parameters

--name -n

Name of the VNet TAP.

--resource-group -g

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

az network vnet tap update

Update settings of a virtual network tap.

az network vnet tap update --name
                           --resource-group
                           [--add]
                           [--force-string]
                           [--remove]
                           [--set]

Required Parameters

--name -n

Name of the VNet TAP.

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

--force-string

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

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