CmdID

CmdID / az / az appservice / az appservice plan / az appservice plan managed-instance / az appservice plan managed-instance network

az appservice plan managed-instance network add

Add VNet integration to a managed instance App Service plan. Azure CLI reference

3 examples 2 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Add VNet integration to a managed instance App Service plan using subnet name and VNet name.

az appservice plan managed-instance network add --name MyAppServicePlan --resource-group MyResourceGroup --vnet MyVNet --subnet MySubnetIdentify
--nameThe name of the app service plan
--resource-groupName of resource group.
--vnetName or resource ID of the regional virtual network.
--subnetName or resource ID of the pre-existing subnet to have the app service plan join.

Add VNet integration to a managed instance App Service plan using vnet resource id

az appservice plan managed-instance network add --name MyAppServicePlan --resource-group MyResourceGroup --vnet '/subscriptions/[sub id]/resourceGroups/[MyResourceGroup]/providers/Microsoft.Network/virtualNetworks/[MyVnetName]' --subnet MySubnetIdentify
--nameThe name of the app service plan
--resource-groupName of resource group.
--vnetName or resource ID of the regional virtual network.
--subnetName or resource ID of the pre-existing subnet to have the app service plan join.

Add VNet integration to a managed instance App Service plan using subnet resource ID.

az appservice plan managed-instance network add --name MyAppServicePlan --resource-group MyResourceGroup --subnet '/subscriptions/[sub id]/resourceGroups/[MyResourceGroup]/providers/Microsoft.Network/virtualNetworks/[MyVnetName]/subnets/[MySubnetName]'Identify
--nameThe name of the app service plan
--resource-groupName of resource group.
--subnetName or resource ID of the pre-existing subnet to have the app service plan join.

Options

2 in the Azure CLI reference
--subnetName or resource ID of the pre-existing subnet to have the app service plan join.
--vnetName or resource ID of the regional virtual network.