az staticwebapp environment

Manage environment of the static app.

Commands

az staticwebapp environment functions

Show information about functions.

az staticwebapp environment list

List all environment of the static app including production.

az staticwebapp environment show

Show information about the production environment or the specified environment.

az staticwebapp environment functions

Show information about functions.

az staticwebapp environment functions --name
                                      [--environment-name]
                                      [--resource-group]
                                      [--subscription]

Examples

Show static app functions.

az staticwebapp environment functions -n MyStaticAppName

Required Parameters

--name -n

Name of the static site.

Optional Parameters

--environment-name

Name of the environment of static site.

default value: default
--resource-group -g

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

--subscription

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

az staticwebapp environment list

List all environment of the static app including production.

az staticwebapp environment list --name
                                 [--query-examples]
                                 [--resource-group]
                                 [--subscription]

Examples

List static app environment.

az staticwebapp environment list -n MyStaticAppName

Required Parameters

--name -n

Name of the static site.

Optional Parameters

--query-examples

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.

--resource-group -g

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

--subscription

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

az staticwebapp environment show

Show information about the production environment or the specified environment.

az staticwebapp environment show --name
                                 [--environment-name]
                                 [--query-examples]
                                 [--resource-group]
                                 [--subscription]

Examples

Show a static app environment.

az staticwebapp environment show -n MyStaticAppName

Required Parameters

--name -n

Name of the static site.

Optional Parameters

--environment-name

Name of the environment of static site.

default value: default
--query-examples

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.

--resource-group -g

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

--subscription

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