diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json index de270e601270..ab4f5933d5ca 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json @@ -1676,6 +1676,9 @@ "x-ms-examples": { "Get an incremental disk restorePoint resource.": { "$ref": "./examples/GetDiskRestorePointResources.json" + }, + "Get an incremental disk restorePoint when source resource is from a different region": { + "$ref": "./examples/GetDiskRestorePointWhenSourceResourceIsFromDifferentRegion.json" } } } @@ -3485,7 +3488,7 @@ }, "sourceResourceId": { "type": "string", - "description": "arm id of source disk", + "description": "arm id of source disk or source disk restore point.", "readOnly": true }, "osType": { @@ -3552,7 +3555,17 @@ }, "completionPercent": { "type": "number", - "description": "Percentage complete for the background copy when a resource is created via the CopyStart operation." + "description": "Percentage complete for the background copy of disk restore point when source resource is from a different region." + }, + "replicationState": { + "type": "string", + "description": "Replication state of disk restore point when source resource is from a different region.", + "readOnly": true + }, + "sourceResourceLocation": { + "type": "string", + "description": "Location of source disk or source disk restore point when source resource is from a different region.", + "readOnly": true } }, "description": "Properties of an incremental disk restore point" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/examples/GetDiskRestorePointWhenSourceResourceIsFromDifferentRegion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/examples/GetDiskRestorePointWhenSourceResourceIsFromDifferentRegion.json new file mode 100644 index 000000000000..976d0ea640b8 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/examples/GetDiskRestorePointWhenSourceResourceIsFromDifferentRegion.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "restorePointCollectionName": "rpc", + "vmRestorePointName": "vmrp", + "diskRestorePointName": "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745", + "api-version": "2021-08-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/restorePointCollections/rpc/restorePoints/vmrp/diskRestorePoints/TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745", + "name": "TestDisk45ceb03433006d1baee0_b70cd924-3362-4a80-93c2-9415eaa12745", + "properties": { + "timeCreated": "2020-09-16T04:41:35.079872+00:00", + "sourceResourceId": "/subscriptions/d2260d06-e00d-422f-8b63-93df551a59ae/resourceGroups/rg0680fb0c-89f1-41b4-96c0-35733a181558/providers/Microsoft.Compute/disks/TestDisk45ceb03433006d1baee0", + "osType": "Windows", + "hyperVGeneration": "V1", + "familyId": "996bf3ce-b6ff-4e86-9db6-dc27ea06cea5", + "sourceUniqueId": "48e058b1-7eea-4968-b532-10a8a1130c13", + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Disabled", + "replicationState": "Succeeded", + "completionPercent": 100, + "sourceResourceLocation": "eastus2" + } + } + } + } +}