az webapp vnet-integration

Methods that list, add, and remove virtual network integrations from a webapp.

Commands

az webapp vnet-integration add Add a regional virtual network integration to a webapp.
az webapp vnet-integration list List the virtual network integrations on a webapp.
az webapp vnet-integration remove Remove a regional virtual network integration from webapp.

az webapp vnet-integration add

Add a regional virtual network integration to a webapp.

az webapp vnet-integration add --name
--resource-group
--subnet
--vnet
[--slot]
[--subscription]

Examples

add a regional virtual network integration to a webapp

az webapp vnet-integration add -g MyResourceGroup -n MyWebapp --vnet MyVnetName --subnet MySubnetName -s [slot]

Required Parameters

--name -n

Name of the web app. You can configure the default using 'az configure --defaults web='.

--resource-group -g

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

--subnet

Subnet name.

--vnet

Vnet name.

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

--subscription

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

az webapp vnet-integration list

List the virtual network integrations on a webapp.

az webapp vnet-integration list --name
--resource-group
[--slot]
[--subscription]

Examples

list the virtual network integrations on a webapp

az webapp vnet-integration list -g MyResourceGroup -n MyWebapp -s [slot]

Required Parameters

--name -n

Name of the web app. You can configure the default using 'az configure --defaults web='.

--resource-group -g

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

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

--subscription

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

az webapp vnet-integration remove

Remove a regional virtual network integration from webapp.

az webapp vnet-integration remove --name
--resource-group
[--slot]
[--subscription]

Examples

remove a regional virtual network integration from webapp

az webapp vnet-integration remove -g MyResourceGroup -n MyWebapp -s [slot]

Required Parameters

--name -n

Name of the web app. You can configure the default using 'az configure --defaults web='.

--resource-group -g

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

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

--subscription

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