az arcgateway settings
Note
このリファレンスは、Azure CLI (バージョン 2.57.0 以降) の arcgateway 拡張機能の一部です。 拡張機能は、az arcgateway settings コマンドを初めて実行するときに自動的にインストールされます。 拡張機能の詳細については、 を参照してください。
Azure Arc-Enabled Server の設定を管理します。
コマンド
名前 | 説明 | 型 | 状態 |
---|---|---|---|
az arcgateway settings update |
ターゲット リソースの基本設定を更新します。 |
Extension | GA |
az arcgateway settings update
ターゲット リソースの基本設定を更新します。
az arcgateway settings update [--add]
[--base-provider]
[--base-resource-name]
[--base-resource-type]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--gateway-resource-id]
[--ids]
[--remove]
[--resource-group]
[--set]
[--subscription]
例
更新を設定するためのサンプル コマンド
az az arcgateway settings update --resource-group myResourceGroup --subscription mySubscription --base-provider Microsoft.HybridCompute --base-resource-type machines --base-resource-name workloadServer --gateway-resource-id myResourceId
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
パスとキー値のペアを指定して、オブジェクトの一覧にオブジェクトを追加します。 例: --add property.listProperty <key=value, string or JSON string>
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
基本リソース プロバイダーの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
基本リソースの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
基本リソースの種類の名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
'set' または 'add' を使用する場合は、JSON に変換するのではなく、文字列リテラルを保持します。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
関連付けられているゲートウェイ リソース ID。
プロパティ | 値 |
---|---|
Parameter group: | GatewayProperties Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リストからプロパティまたは要素を削除します。 例: --remove property.list <indexToRemove>
OR --remove propertyToRemove
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
設定するプロパティ パスと値を指定して、オブジェクトを更新します。 例: --set property1.property2=<value>
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
出力フォーマット。
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |