[Site Recovery] Support targetExtendedLocation when enabling V2A replication
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 56/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 4.7k
- Fork
- 3.5k
- Merge medio
- 4g 14h
- PR unite (30g)
- 92
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/azure-cli
-
customer-reported MySQL needs-triage Service Attention
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
Azure/azure-cli#34393 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
customer-reported Service Attention
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
Azure/azure-cli#34267 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Add support for cli completion in git bash for windowsForse già presa @a0x1ab l’ha presa 23 giorni fa. Apertacustomer-reported Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Azure/azure-cli#34150 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
act-observability-squad Auto-Assign ContainerApp Output Service Attention
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Azure/azure-cli#33149 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
act-codegen-extensibility-squad Auto-Assign Documentation MySQL Possible-Solution Service Attention Similar-Issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Azure/azure-cli#33009 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/azure-cli
Issue simili
-
Unknown stop ID in slow zone data crashes post formatting and skips the rest of that day's postsApertabackend bug tm-new-volunteer
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
transitmatters/mbta-slow-zone-bot#81 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
spacetelescope/rdmt-spire#49 ·
I maintainer di solito rispondono entro 1 giorno
-
AI bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
btclib-org/btclib-wallet#872 ·
I maintainer di solito rispondono entro 1 giorno