az appservice ase
Manage App Service Environments v2.
Commands
az appservice ase create |
Create app service environment. |
az appservice ase delete |
Delete app service environment. |
az appservice ase list |
List app service environments. |
az appservice ase list-addresses |
List VIPs associated with an app service environment. |
az appservice ase list-plans |
List app service plans associated with an app service environment. |
az appservice ase show |
Show details of an app service environment. |
az appservice ase update |
Update app service environment. |
az appservice ase create
Create app service environment.
az appservice ase create --name
--resource-group
--subnet
[--force-network-security-group {false, true}]
[--force-route-table {false, true}]
[--front-end-scale-factor]
[--front-end-sku {I1, I2, I3}]
[--ignore-network-security-group {false, true}]
[--ignore-route-table {false, true}]
[--ignore-subnet-size-validation {false, true}]
[--location]
[--no-wait]
[--subscription]
[--virtual-ip-type {External, Internal}]
[--vnet-name]
Examples
Create Resource Group, vNet and app service environment with default values.
az group create -g MyResourceGroup --location westeurope
az network vnet create -g MyResourceGroup -n MyVirtualNetwork \
--address-prefixes 10.0.0.0/16 --subnet-name MyAseSubnet --subnet-prefixes 10.0.0.0/24
az appservice ase create -n MyAseName -g MyResourceGroup --vnet-name MyVirtualNetwork \
--subnet MyAseSubnet
Create External app service environments with large front-ends and scale factor of 10 in existing resource group and vNet.
az appservice ase create -n MyAseName -g MyResourceGroup --vnet-name MyVirtualNetwork \
--subnet MyAseSubnet --front-end-sku I3 --front-end-scale-factor 10 \
--virtual-ip-type External
Create vNet and app service environment, but do not create network security group and route table in existing resource group.
az network vnet create -g MyResourceGroup -n MyVirtualNetwork \
--address-prefixes 10.0.0.0/16 --subnet-name MyAseSubnet --subnet-prefixes 10.0.0.0/24
az appservice ase create -n MyAseName -g MyResourceGroup --vnet-name MyVirtualNetwork \
--subnet MyAseSubnet --ignore-network-security-group --ignore-route-table
Create vNet and app service environment in a smaller than recommended subnet in existing resource group.
az network vnet create -g MyResourceGroup -n MyVirtualNetwork \
--address-prefixes 10.0.0.0/16 --subnet-name MyAseSubnet --subnet-prefixes 10.0.0.0/26
az appservice ase create -n MyAseName -g MyResourceGroup --vnet-name MyVirtualNetwork \
--subnet MyAseSubnet --ignore-subnet-size-validation
Required Parameters
Name of the app service environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of existing subnet. To create vnet and/or subnet use az network vnet [subnet] create
.
Optional Parameters
Override network security group for subnet.
Override route table for subnet.
Scale of front ends to app service plan instance ratio.
Size of front end servers.
Configure network security group manually.
Configure route table manually.
Do not check if subnet is sized according to recommendations.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Do not wait for the long-running operation to finish.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Specify if app service environment should be accessible from internet.
Name of the vNet. Mandatory if only subnet name is specified.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase delete
Delete app service environment.
az appservice ase delete --name
[--no-wait]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete app service environment.
az appservice ase delete -n MyAseName
Required Parameters
Name of the app service environment.
Optional Parameters
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase list
List app service environments.
az appservice ase list [--query-examples]
[--resource-group]
[--subscription]
Examples
List all app service environments in subscription.
az appservice ase list
List all app service environment in resource group.
az appservice ase list --resource-group MyResourceGroup
Optional Parameters
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase list-addresses
List VIPs associated with an app service environment.
az appservice ase list-addresses --name
[--resource-group]
[--subscription]
Examples
List VIPs for an app service environments.
az appservice ase list-addresses --name MyAseName
Required Parameters
Name of the app service environment.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase list-plans
List app service plans associated with an app service environment.
az appservice ase list-plans --name
[--resource-group]
[--subscription]
Examples
List app service plans for an app service environments.
az appservice ase list-plans --name MyAseName
Required Parameters
Name of the app service environment.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase show
Show details of an app service environment.
az appservice ase show --name
[--query-examples]
[--resource-group]
[--subscription]
Examples
Show app service environment.
az appservice ase show --name MyAseName
Required Parameters
Name of the app service environment.
Optional Parameters
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase update
Update app service environment.
az appservice ase update --name
[--front-end-scale-factor]
[--front-end-sku {I1, I2, I3}]
[--no-wait]
[--resource-group]
[--subscription]
Examples
Update app service environment with medium front-ends and scale factor of 10.
az appservice ase update -n MyAseName -g MyResourceGroup --front-end-sku I2 \
--front-end-scale-factor 10
Required Parameters
Name of the app service environment.
Optional Parameters
Scale of front ends to app service plan instance ratio between 5 and 15.
Size of front end servers.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.