← 返回命令列表

Linux command

az-appconfig 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create an App Configuration store

az appconfig create --name [MyAppConfig] --resource-group [MyResourceGroup] --location [westus] --sku [Standard]

List all App Configuration stores

az appconfig list --resource-group [MyResourceGroup]

Show details

az appconfig show --name [MyAppConfig] --resource-group [MyResourceGroup]

Set a key-value

az appconfig kv set --name [MyAppConfig] --key [myKey] --value [myValue]

Import configuration

az appconfig kv import --name [MyAppConfig] --source file --path [config.json] --format json

Enable a feature flag

az appconfig feature enable --name [MyAppConfig] --feature [myFeature]

Delete an App Configuration store

az appconfig delete --name [MyAppConfig] --resource-group [MyResourceGroup]

说明

az appconfig manages Azure App Configuration stores, which provide a service to centrally manage application settings and feature flags. App Configuration helps implement the Twelve-Factor App methodology by separating configuration from code. Available SKUs include Developer, Standard, and Premium, with Premium offering additional features like replicas.

FAQ

What is the az-appconfig command used for?

az appconfig manages Azure App Configuration stores, which provide a service to centrally manage application settings and feature flags. App Configuration helps implement the Twelve-Factor App methodology by separating configuration from code. Available SKUs include Developer, Standard, and Premium, with Premium offering additional features like replicas.

How do I run a basic az-appconfig example?

Run `az appconfig create --name [MyAppConfig] --resource-group [MyResourceGroup] --location [westus] --sku [Standard]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more az-appconfig examples?

This page includes 7 examples for az-appconfig, plus related commands for nearby Linux tasks.