Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating existing CRR APIs with zone restore feature #12157

Merged
merged 3 commits into from
Dec 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2858,6 +2858,13 @@
"recoveryPointDiskConfiguration": {
"$ref": "#/definitions/RecoveryPointDiskConfiguration",
"description": "Disk configuration"
},
"zones": {
"description": "Identifies the zone of the VM at the time of backup. Applicable only for zone-pinned Vms",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "IaasVMRecoveryPoint"
Expand Down Expand Up @@ -2953,6 +2960,13 @@
"diskEncryptionSetId": {
"description": "DiskEncryptionSet's ID - needed if the VM needs to be encrypted at rest during restore with customer managed key.",
"type": "string"
},
"zones": {
"description": "Target zone where the VM and its disks should be restored.",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "IaasVMRestoreRequest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@
],
"isManagedVirtualMachine": true,
"virtualMachineSize": "Standard_D1",
"originalStorageAccountOption": false
"originalStorageAccountOption": false,
"zones": [
"1"
]
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
"targetDomainNameId": null,
"targetResourceGroupId": "/subscriptions/f2edfd5d-5496-4683-b94f-b3588c579009/resourceGroups/00networkAckl",
"targetVirtualMachineId": "/subscriptions/f2edfd5d-5496-4683-b94f-b3588c579009/resourceGroups/00networkAckl/providers/Microsoft.Compute/virtualMachines/gaallaVM",
"virtualNetworkId": "/subscriptions/f2edfd5d-5496-4683-b94f-b3588c579009/resourceGroups/00networkAcklVaultCCY/providers/Microsoft.Network/virtualNetworks/00networkAcklVaultCCY-vnet"
"virtualNetworkId": "/subscriptions/f2edfd5d-5496-4683-b94f-b3588c579009/resourceGroups/00networkAcklVaultCCY/providers/Microsoft.Network/virtualNetworks/00networkAcklVaultCCY-vnet",
"zones": [
"2"
]
}
}
},
Expand Down