次の方法で共有


az staticwebapp appsettings

静的アプリのアプリ設定を管理します。

コマンド

名前 説明 状態
az staticwebapp appsettings delete

静的アプリの特定のキーを使用してアプリ設定を削除します。

Core GA
az staticwebapp appsettings list

静的アプリのアプリ設定を一覧表示します。

Core GA
az staticwebapp appsettings set

静的アプリのアプリ設定を追加または変更します。

Core GA

az staticwebapp appsettings delete

静的アプリの特定のキーを使用してアプリ設定を削除します。

az staticwebapp appsettings delete --name
                                   --setting-names
                                   [--environment-name]
                                   [--resource-group]

静的アプリの特定のアプリ設定を削除します。

az staticwebapp appsettings delete -n MyStaticAppName --setting-names key1 key2

静的アプリの特定のアプリ設定を削除します。

az staticwebapp appsettings delete -n MyStaticAppName --setting-names key1 key2 --environment-name MyEnvironmentName

必須のパラメーター

--name -n

静的サイトの名前。

--setting-names

スペース区切りのアプリ設定名。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--environment-name

静的サイトの環境の名前。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az staticwebapp appsettings list

静的アプリのアプリ設定を一覧表示します。

az staticwebapp appsettings list --name
                                 [--environment-name]
                                 [--resource-group]

静的アプリのアプリ設定を一覧表示します。

az staticwebapp appsettings list -n MyStaticAppName

静的アプリ環境のアプリ設定を一覧表示します。

az staticwebapp appsettings list -n MyStaticAppName --environment-name MyEnvironmentName

必須のパラメーター

--name -n

静的サイトの名前。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--environment-name

静的サイトの環境の名前。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az staticwebapp appsettings set

静的アプリのアプリ設定を追加または変更します。

az staticwebapp appsettings set --name
                                --setting-names
                                [--environment-name]
                                [--resource-group]

静的アプリのアプリ設定を追加または変更します。

az staticwebapp appsettings set -n MyStaticAppName --setting-names key1=val1 key2=val2

静的アプリ環境のアプリ設定を追加または変更します。

az staticwebapp appsettings set -n MyStaticAppName --setting-names key1=val1 key2=val2 --environment-name MyEnvironmentName

必須のパラメーター

--name -n

静的サイトの名前。

--setting-names

'key=value' 形式のスペース区切りのアプリ設定。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--environment-name

静的サイトの環境の名前。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False