az staticwebapp environment
Manage environment of the static app.
Commands
Name | Description | Type | Status |
---|---|---|---|
az staticwebapp environment delete |
Delete the static app production environment or the specified environment. |
Core | GA |
az staticwebapp environment functions |
Show information about functions. |
Core | GA |
az staticwebapp environment list |
List all environment of the static app including production. |
Core | GA |
az staticwebapp environment show |
Show information about the production environment or the specified environment. |
Core | GA |
az staticwebapp environment delete
Delete the static app production environment or the specified environment.
az staticwebapp environment delete --name
[--environment-name]
[--resource-group]
[--yes]
Examples
Delete a static app environment.
az staticwebapp environment delete -n MyStaticAppName
Required Parameters
Name of the static site.
Optional Parameters
Name of the environment of static site.
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 staticwebapp environment functions
Show information about functions.
az staticwebapp environment functions --name
[--environment-name]
[--resource-group]
Examples
Show static app functions.
az staticwebapp environment functions -n MyStaticAppName
Required Parameters
Name of the static site.
Optional Parameters
Name of the environment of static site.
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 staticwebapp environment list
List all environment of the static app including production.
az staticwebapp environment list --name
[--resource-group]
Examples
List static app environment.
az staticwebapp environment list -n MyStaticAppName
Required Parameters
Name of the static site.
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 staticwebapp environment show
Show information about the production environment or the specified environment.
az staticwebapp environment show --name
[--environment-name]
[--resource-group]
Examples
Show a static app environment.
az staticwebapp environment show -n MyStaticAppName
Required Parameters
Name of the static site.
Optional Parameters
Name of the environment of static site.
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.