az staticwebapp appsettings
Manage app settings the static app.
Commands
Name | Description | Type | Status |
---|---|---|---|
az staticwebapp appsettings delete |
Delete app settings with given keys of the static app. |
Core | GA |
az staticwebapp appsettings list |
List app settings of the static app. |
Core | GA |
az staticwebapp appsettings set |
Add to or change the app settings of the static app. |
Core | GA |
az staticwebapp appsettings delete
Delete app settings with given keys of the static app.
az staticwebapp appsettings delete --name
--setting-names
[--environment-name]
[--resource-group]
Examples
Delete given app settings of the static app.
az staticwebapp appsettings delete -n MyStaticAppName --setting-names key1 key2
Delete given app settings of the static app.
az staticwebapp appsettings delete -n MyStaticAppName --setting-names key1 key2 --environment-name MyEnvironmentName
Required Parameters
Name of the static site.
Space-separated app setting names.
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 appsettings list
List app settings of the static app.
az staticwebapp appsettings list --name
[--environment-name]
[--resource-group]
Examples
List app settings of the static app.
az staticwebapp appsettings list -n MyStaticAppName
List app settings of the static app environment.
az staticwebapp appsettings list -n MyStaticAppName --environment-name MyEnvironmentName
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 appsettings set
Add to or change the app settings of the static app.
az staticwebapp appsettings set --name
--setting-names
[--environment-name]
[--resource-group]
Examples
Add to or change the app settings of the static app.
az staticwebapp appsettings set -n MyStaticAppName --setting-names key1=val1 key2=val2
Add to or change the app settings of the static app environment.
az staticwebapp appsettings set -n MyStaticAppName --setting-names key1=val1 key2=val2 --environment-name MyEnvironmentName
Required Parameters
Name of the static site.
Space-separated app settings in 'key=value' format.
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.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om