diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json index dd53222fec97..81107ff2f113 100644 --- a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json @@ -99,6 +99,9 @@ "x-ms-examples": { "Restore a backup.": { "$ref": "./examples/Backups/Restore.json" + }, + "Restore a single role from backup.": { + "$ref": "./examples/Backups/SingleRepoRestore.json" } }, "description": "Restore a backup.", @@ -275,6 +278,10 @@ "RestoreOptions": { "description": "Properties for restore options.", "properties": { + "roleName": { + "description": "The Azure Stack role name for restore, set it to empty for all infrastructure role", + "type": "string" + }, "decryptionCertBase64": { "description": "The certificate file raw data in Base64 string. This should be the .pfx file with the private key.", "type": "string" diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json new file mode 100644 index 000000000000..20be3535ee2b --- /dev/null +++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "11111111-2222-3333-4444-555555555555", + "resourceGroupName": "System.local", + "location": "local", + "backup": "64e8625a-8dc0-49df-a195-932901b4be81", + "restoreOptions": { + "roleName": "fakerp", + "decryptionCertBase64": "decryptionCert", + "decryptionCertPassword": "decryptionCertPassword" + }, + "api-version": "2018-09-01" + }, + "responses": { + "200": {}, + "202": {} + } + } + \ No newline at end of file