[Site Recovery] Support targetExtendedLocation when enabling V2A replication
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 56/100
調査の方向性
Start with the generated site-recovery extension commands for az site-recovery protected-item create and show, plus the API specification PR #46144 and its ReplicationProtectedItems_Create_InMageRcmEdgeZone.json example. After the API contract is finalized, update the generated input and response schemas, help/example, and tests for target-extended-location. Done means the create request serializes the field, show returns it when present, and existing V2A behavior remains unchanged when omitted.
索引モデルが issue の本文から書いたものです。
説明
Preconditions
- No need to upgrade Python SDK or the Python SDK is ready.
The site-recovery extension command is generated with AAZ. The REST API specification is being added in Azure/azure-rest-api-specs#46144.
Related command
az site-recovery protected-item create
az site-recovery protected-item show
Resource Provider
Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems
Description of Feature or Work Requested
Add Azure CLI support for targetExtendedLocation when enabling VMware-to-Azure (V2A/InMageRcm) replication.
az site-recovery protected-item create currently accepts V2A provider input through --provider-details '{in-mage-rcm:{...}}'. Generate the new API field as target-extended-location within the in-mage-rcm provider-details object, matching the REST API contract:
"targetExtendedLocation": {
"name": "edge-zone-1",
"type": "EdgeZone"
}
For the read path, regenerate az site-recovery protected-item show against API version 2026-11-01 so its response schema recognizes and returns properties.providerSpecificDetails.targetExtendedLocation. No new input argument is required for show.
Expected CLI shape:
az site-recovery protected-item create \
--resource-group <resource-group> \
--vault-name <vault-name> \
--fabric-name <fabric-name> \
--protection-container <container-name> \
--name <protected-item-name> \
--policy-id <policy-id> \
--protectable-item-id <protectable-item-id> \
--provider-details '{in-mage-rcm:{fabric-discovery-machine-id:<machine-id>,process-server-id:<process-server-id>,target-resource-group-id:<target-rg-id>,target-network-id:<target-vnet-id>,target-subnet-name:<subnet>,target-vm-name:<vm-name>,target-extended-location:{name:<extended-location-name>,type:EdgeZone}}}'
Acceptance criteria:
- The
in-mage-rcmschema under--provider-detailsacceptstarget-extended-locationwithnameandtype. - CLI serializes it as
providerSpecificDetails.targetExtendedLocationinReplicationProtectedItems_Create. az site-recovery protected-item showuses the updated response schema and returnsproperties.providerSpecificDetails.targetExtendedLocationwhen present; no new show argument is required.- Help and an example cover enabling V2A replication to an Azure Extended Zone.
- Tests cover the new input.
- Existing V2A enable-replication behavior is unchanged when the field is omitted.
Minimum API Version Required
2026-11-01
Swagger PR link / SDK link
https://github.com/Azure/azure-rest-api-specs/pull/46144
Request Example
ReplicationProtectedItems_Create_InMageRcmEdgeZone.json in https://github.com/Azure/azure-rest-api-specs/pull/46144
The example title is "Enables protection for an InMage RCM VM in an extended location" and demonstrates targetExtendedLocation in both the request and response.
Target Date
2026-11-01
PM Contact
N/A
Engineer Contact
Prakhar Doshi (@prakhar1200)
Additional context
The feature is specifically for VMware-to-Azure (V2A/InMageRcm), not Azure-to-Azure (A2A). The specs PR is currently open; CLI generation should use the finalized 2026-11-01 contract after it is merged.
- 主要言語
- Python
- スター
- 4.7k
- フォーク
- 3.5k
- 平均マージ
- 4日 14時間
- マージ済み PR(30日)
- 92
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/azure-cli のほかの issue
-
customer-reported MySQL needs-triage Service Attention
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
Azure/azure-cli#34393 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
customer-reported Service Attention
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
Azure/azure-cli#34267 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Add support for cli completion in git bash for windows対応中かも @a0x1ab が 23 日前に担当しました。 オープンcustomer-reported Service Attention
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/azure-cli#34150 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
act-observability-squad Auto-Assign ContainerApp Output Service Attention
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Azure/azure-cli#33149 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
act-codegen-extensibility-squad Auto-Assign Documentation MySQL Possible-Solution Service Attention Similar-Issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Azure/azure-cli#33009 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
Azure/azure-cli の issue をすべて見る
似ている issue
-
Unknown stop ID in slow zone data crashes post formatting and skips the rest of that day's postsオープンbackend bug tm-new-volunteer
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
transitmatters/mbta-slow-zone-bot#81 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
spacetelescope/rdmt-spire#49 ·
メンテナーはふだん 1 日以内に返信
-
AI bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
btclib-org/btclib-wallet#872 ·
メンテナーはふだん 1 日以内に返信