az appservice ase
Manage App Service Environments.
Commands
Name | Description | Type | Status |
---|---|---|---|
az appservice ase create |
Create app service environment. |
Core | GA |
az appservice ase create-inbound-services |
Private DNS Zone for Internal (ILB) App Service Environments. |
Core | Preview |
az appservice ase delete |
Delete app service environment. |
Core | GA |
az appservice ase list |
List app service environments. |
Core | GA |
az appservice ase list-addresses |
List VIPs associated with an app service environment v2. |
Core | GA |
az appservice ase list-plans |
List app service plans associated with an app service environment. |
Core | GA |
az appservice ase send-test-notification |
Send a test upgrade notification in app service environment v3. |
Core | Preview |
az appservice ase show |
Show details of an app service environment. |
Core | GA |
az appservice ase update |
Update app service environment. |
Core | GA |
az appservice ase upgrade |
Upgrade app service environment v3. |
Core | Preview |
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}]
[--kind {ASEv2, ASEv3}]
[--location]
[--no-wait]
[--os-preference {Linux, Windows}]
[--virtual-ip-type {External, Internal}]
[--vnet-name]
[--zone-redundant {false, true}]
Examples
Create resource group, Virtual Network and App Service Environment v3 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 --kind asev3
Create external App Service Environments v3 in existing resource group and Virtual Network.
az appservice ase create -n MyAseName -g MyResourceGroup --vnet-name MyVirtualNetwork \
--subnet MyAseSubnet --virtual-ip-type External --kind asev3
Create Virtual Network and App Service Environment v3 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 --kind asev3
Create external zone redundant App Service Environment v3 with default values.
az appservice ase create -n MyASEv3Name -g ASEv3ResourceGroup \
--vnet-name MyASEv3VirtualNetwork --subnet MyASEv3Subnet --kind asev3 \
--zone-redundant --virtual-ip-type External
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. Applies to ASEv2 only.
Override route table for subnet. Applies to ASEv2 only.
Scale of front ends to app service plan instance ratio. Applies to ASEv2 only.
Size of front end servers. Applies to ASEv2 only.
Configure network security group manually. Applies to ASEv2 only.
Configure route table manually. Applies to ASEv2 only.
Do not check if subnet is sized according to recommendations.
Specify App Service Environment version.
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.
Determine if app service environment should start with Linux workers. Applies to ASEv2 only.
Specify if app service environment should be accessible from internet.
Name of the vNet. Mandatory if only subnet name is specified.
Configure App Service Environment as Zone Redundant. Applies to ASEv3 only.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase create-inbound-services
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Private DNS Zone for Internal (ILB) App Service Environments.
az appservice ase create-inbound-services --name
--resource-group
--subnet
[--skip-dns {false, true}]
[--vnet-name]
Examples
Create Private DNS Zone and A records.
az appservice ase create-inbound-services -n MyASEName -g ASEResourceGroup \
--vnet-name MyASEVirtualNetwork --subnet MyAseSubnet
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 for DNS Zone link. To create vnet and/or subnet use az network vnet [subnet] create
.
Optional Parameters
Argument 'skip_dns' has been deprecated and will be removed in version '3.0.0'.
Do not create Private DNS Zone and DNS records.
Name of the vNet. Mandatory if only subnet name is specified.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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]
[--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>
.
Do not prompt for confirmation.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase list
List app service environments.
az appservice ase list [--resource-group]
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
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase list-addresses
List VIPs associated with an app service environment v2.
az appservice ase list-addresses --name
[--resource-group]
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>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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]
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>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase send-test-notification
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Send a test upgrade notification in app service environment v3.
az appservice ase send-test-notification --name
[--resource-group]
Examples
Send a test upgrade notification in app service environment v3.
az appservice ase send-test-notification -n MyAseV3Name -g MyResourceGroup
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>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
[--resource-group]
Examples
Show app service environment.
az appservice ase show --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>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase update
Update app service environment.
az appservice ase update --name
[--allow-incoming-ftp-connections {false, true}]
[--allow-new-private-endpoint-connections {false, true}]
[--allow-remote-debugging {false, true}]
[--front-end-scale-factor]
[--front-end-sku {I1, I2, I3}]
[--no-wait]
[--resource-group]
Examples
Update app service environment v2 with medium front-ends and scale factor of 10.
az appservice ase update -n MyAseV2Name -g MyResourceGroup --front-end-sku I2 \
--front-end-scale-factor 10
Update app service environment v3 to allow new private endpoint connections.
az appservice ase update -n MyAseV3Name -g MyResourceGroup --allow-new-private-endpoint-connections
Update app service environment v3 to allow incoming ftp connections.
az appservice ase update -n MyAseV3Name -g MyResourceGroup --allow-incoming-ftp-connections
Update app service environment v3 to allow remote debugging.
az appservice ase update -n MyAseV3Name -g MyResourceGroup --allow-remote-debugging
Required Parameters
Name of the app service environment.
Optional Parameters
(ASEv3 only) Configure App Service Environment to allow FTP access. This ftpEnabled setting allows you to allow or deny FTP connections on the App Service Environment level. Individual apps will still need to configure FTP access.
(ASEv3 only) Configure Apps in App Service Environment to allow new private endpoint connections.
(ASEv3 only) Configure App Service Environment to allow remote debugging. You will still have to configure remote debugging at the individual app level.
(ASEv2 only) Scale of front ends to app service plan instance ratio between 5 and 15.
(ASEv2 only) 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>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az appservice ase upgrade
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Upgrade app service environment v3.
az appservice ase upgrade --name
[--no-wait]
[--resource-group]
[--yes]
Examples
Upgrade app service environment v3.
az appservice ase upgrade -n MyAseV3Name -g MyResourceGroup
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>
.
Do not prompt for confirmation.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.