az site-recovery protection-container mapping
Note
このリファレンスは、Azure CLI (バージョン 2.51.0 以降) の サイト回復 拡張機能の一部です。 拡張機能は、az site-recovery protection-container mapping コマンドを初めて実行すると、自動的にインストールされます。 拡張機能の詳細については、 を参照してください。
保護コンテナーの保護コンテナー マッピングを管理します。
コマンド
名前 | 説明 | 型 | 状態 |
---|---|---|---|
az site-recovery protection-container mapping create |
保護コンテナー マッピングを作成する操作を作成します。 |
Extension | GA |
az site-recovery protection-container mapping delete |
保護コンテナー マッピングを消去 (強制削除) する削除操作。 |
Extension | GA |
az site-recovery protection-container mapping list |
保護コンテナーの保護コンテナー マッピングを一覧表示します。 |
Extension | GA |
az site-recovery protection-container mapping remove |
保護コンテナー マッピングを削除または削除する操作。 |
Extension | GA |
az site-recovery protection-container mapping show |
保護コンテナー マッピングの詳細を取得します。 |
Extension | GA |
az site-recovery protection-container mapping update |
保護コンテナー マッピングを作成するための更新操作。 |
Extension | GA |
az site-recovery protection-container mapping create
保護コンテナー マッピングを作成する操作を作成します。
az site-recovery protection-container mapping create --fabric-name
--mapping-name --name
--protection-container --protection-container-name
--resource-group
--vault-name
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--policy-id]
[--provider-input --provider-specific-input]
[--target-container --target-protection-container-id]
例
A2A の protection-container mapping create
az site-recovery protection-container mapping create -g rg --fabric-name fabric1_name -n container_mapping1_name --protection-container container1_name --vault-name vault_name --policy-id policy_id --provider-input '{a2a:{agent-auto-update-status:Disabled}}' --target-container container2_id
H2A 用の protection-container mapping create
az site-recovery protection-container mapping create -g "rg" --fabric-name "fabric_name" -n "container_mapping_name" --protection-container "container_name" --vault-name "vault_name" --policy-id "policy_id" --target-container "Microsoft Azure" --provider-input '{hyper-v-replica-azure:""}'
V2A RCM の protection-container mapping create
az site-recovery protection-container mapping create -g "rg" --fabric-name "fabric_name" -n "container_mapping_name" --protection-container "container_name" --vault-name "vault_name" --policy-id "policy_id" --target-container "Microsoft Azure" --provider-input '{in-mage-rcm:{enable-agent-auto-upgrade:true}}'
必須のパラメーター
ファブリック名。
保護コンテナー マッピング名。
保護コンテナー名。
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
Recovery Services コンテナーの名前。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
適用されるポリシー。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
ペアリングのためのプロバイダー固有の入力。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
ターゲットの一意の保護コンテナー名。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
出力フォーマット。
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az site-recovery protection-container mapping delete
保護コンテナー マッピングを消去 (強制削除) する削除操作。
az site-recovery protection-container mapping delete [--fabric-name]
[--ids]
[--mapping-name --name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--protection-container --protection-container-name]
[--resource-group]
[--subscription]
[--vault-name]
[--yes]
例
protection-container mapping delete
az site-recovery protection-container mapping delete -g rg --fabric-name fabric1_name -n container_mapping1_name --protection-container container1_name --vault-name vault_name
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ファブリック名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
保護コンテナー マッピング名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
保護コンテナー名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Recovery Services コンテナーの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
確認を求めないでください。
プロパティ | 値 |
---|---|
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
出力フォーマット。
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az site-recovery protection-container mapping list
保護コンテナーの保護コンテナー マッピングを一覧表示します。
az site-recovery protection-container mapping list --fabric-name
--protection-container --protection-container-name
--resource-group
--vault-name
[--max-items]
[--next-token]
例
protection-container mapping list
az site-recovery protection-container mapping list -g rg --fabric-name fabric_source_name --protection-container container_source_name --vault-name vault_name
必須のパラメーター
ファブリック名。
保護コンテナー名。
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
Recovery Services コンテナーの名前。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
コマンドの出力で返される項目の合計数。 使用可能な項目の合計数が指定された値を超える場合は、コマンドの出力にトークンが提供されます。 改ページ位置の変更を再開するには、後続のコマンドの引数 --next-token
トークン値を指定します。
プロパティ | 値 |
---|---|
Parameter group: | Pagination Arguments |
ページ分割を開始する場所を指定するトークン。 これは、以前に切り捨てられた応答からのトークン値です。
プロパティ | 値 |
---|---|
Parameter group: | Pagination Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
出力フォーマット。
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az site-recovery protection-container mapping remove
保護コンテナー マッピングを削除または削除する操作。
az site-recovery protection-container mapping remove [--fabric-name]
[--ids]
[--mapping-name --name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--protection-container --protection-container-name]
[--provider-input --provider-specific-input]
[--resource-group]
[--subscription]
[--vault-name]
例
protection-container mapping remove
az site-recovery protection-container mapping remove -g rg --fabric-name fabric_source_name -n container_mapping_source_name --protection-container container_source_name --vault-name vault_name
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ファブリック名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
保護コンテナー マッピング名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
保護コンテナー名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ペアリング解除のためのプロバイダー固有の入力。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Recovery Services コンテナーの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
出力フォーマット。
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az site-recovery protection-container mapping show
保護コンテナー マッピングの詳細を取得します。
az site-recovery protection-container mapping show [--fabric-name]
[--ids]
[--mapping-name --name]
[--protection-container --protection-container-name]
[--resource-group]
[--subscription]
[--vault-name]
例
protection-container mapping show
az site-recovery protection-container mapping show -g rg --fabric-name fabric_source_name -n container_mapping_source_name --protection-container container_source_name --vault-name vault_name
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ファブリック名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
保護コンテナーのマッピング名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
保護コンテナー名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Recovery Services コンテナーの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
出力フォーマット。
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az site-recovery protection-container mapping update
保護コンテナー マッピングを作成するための更新操作。
az site-recovery protection-container mapping update [--add]
[--fabric-name]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--mapping-name --name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--policy-id]
[--protection-container --protection-container-name]
[--provider-input --provider-specific-input]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--target-container --target-protection-container-id]
[--vault-name]
例
protection-container mapping update
az site-recovery protection-container mapping update -g rg --fabric-name fabric_source_name -n container_mapping_source_name --protection-container container_source_name --vault-name vault_name --policy-id policy_id --provider-input '{a2a:{agent-auto-update-status:Enabled}}' --target-container container_recovery_id
省略可能のパラメーター
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 |
'set' または 'add' を使用する場合は、JSON に変換するのではなく、文字列リテラルを保持します。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
保護コンテナーのマッピング名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
適用されるポリシー。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
保護コンテナー名。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ペアリングのためのプロバイダー固有の入力。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | Properties 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 |
ターゲットの一意の保護コンテナー名。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Recovery Services コンテナーの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
出力フォーマット。
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |