diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
index 7fa1ec6467dd..569187754c5a 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
@@ -41,7 +41,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.3-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll
+ ..\Commands.AzureBackup\Resources\Microsoft.Azure.Management.BackupServicesManagement.dll
False
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
index 75e3b265546e..b8cc114d0723 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
@@ -54,13 +54,12 @@ $IaasVMManagedResourceName = "hydrarecordvm"
$IaasVMManagedResourceGroupName = "hydrarecordvm"
$VaultResourceName = "backuprn"
$VaultResourceRGName = "backuprg"
-$RegisterTestVM = "powershellbvt"
function Test-RegisterAzureBackupContainer
{
$vault = Get-AzureRMBackupVault -Name $VaultResourceName
- $jobId = Register-AzureRMBackupContainer -vault $vault -Name $RegisterTestVM -ServiceName $RegisterTestVM
+ $jobId = Register-AzureRMBackupContainer -vault $vault -Name $IaasVMManagedResourceName -ServiceName $IaasVMManagedResourceGroupName
Assert-NotNull $jobId 'Job should not be null';
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupContainerScenarioTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupContainerScenarioTests.json
index 411e120318d9..8f59c920de1a 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupContainerScenarioTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupContainerScenarioTests.json
@@ -10,13 +10,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "b6ee8175-6285-48e1-8d88-b04a52c65045-2015-08-14 10:25:36Z-PS"
+ "36086411-570f-4a0c-b6b1-3dab5e799d22-2015-08-24 11:14:28Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"backuprn\",\r\n \"etag\": \"fef5d39d-ff91-43f7-9127-3b9a171a9f0c\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\"\r\n}",
+ "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"backuprn\",\r\n \"etag\": \"bbe62c5f-f8f3-4927-9b53-ac4befce53b0\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
"344"
@@ -31,28 +31,28 @@
"no-cache"
],
"x-ms-request-id": [
- "cf75119f-1291-4957-806b-483e8181a98f"
+ "ef33055f-ef57-402d-acb0-2c5a3df1a7ac"
],
"x-ms-client-request-id": [
- "b6ee8175-6285-48e1-8d88-b04a52c65045-2015-08-14 10:25:36Z-PS"
+ "36086411-570f-4a0c-b6b1-3dab5e799d22-2015-08-24 11:14:28Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
+ "14999"
],
"x-ms-correlation-request-id": [
- "cf75119f-1291-4957-806b-483e8181a98f"
+ "ef33055f-ef57-402d-acb0-2c5a3df1a7ac"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T102539Z:cf75119f-1291-4957-806b-483e8181a98f"
+ "CENTRALUS:20150824T111431Z:ef33055f-ef57-402d-acb0-2c5a3df1a7ac"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 10:25:38 GMT"
+ "Mon, 24 Aug 2015 11:14:31 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -70,16 +70,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "b6ee8175-6285-48e1-8d88-b04a52c65045-2015-08-14 10:25:36Z-PS"
+ "36086411-570f-4a0c-b6b1-3dab5e799d22-2015-08-24 11:14:28Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 6476019202094164610,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "110"
+ "106"
],
"Content-Type": [
"application/json"
@@ -91,29 +91,29 @@
"no-cache"
],
"x-ms-request-id": [
- "cc0d7b18-86d0-4f2f-94dc-48e3288b1846"
+ "560174f4-2b3a-461b-b319-bbd482816924"
],
"x-ms-client-request-id": [
- "b6ee8175-6285-48e1-8d88-b04a52c65045-2015-08-14 10:25:36Z-PS",
- "b6ee8175-6285-48e1-8d88-b04a52c65045-2015-08-14 10:25:36Z-PS"
+ "36086411-570f-4a0c-b6b1-3dab5e799d22-2015-08-24 11:14:28Z-PS",
+ "36086411-570f-4a0c-b6b1-3dab5e799d22-2015-08-24 11:14:28Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14998"
],
"x-ms-correlation-request-id": [
- "cc0d7b18-86d0-4f2f-94dc-48e3288b1846"
+ "560174f4-2b3a-461b-b319-bbd482816924"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T102540Z:cc0d7b18-86d0-4f2f-94dc-48e3288b1846"
+ "CENTRALUS:20150824T111432Z:560174f4-2b3a-461b-b319-bbd482816924"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 10:25:40 GMT"
+ "Mon, 24 Aug 2015 11:14:32 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -122,8 +122,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=containerType%20eq%20'IaasVM'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPWNvbnRhaW5lclR5cGUlMjBlcSUyMCdJYWFzVk0n",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=type%20eq%20'IaasVM'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPXR5cGUlMjBlcSUyMCdJYWFzVk0n",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -131,10 +131,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "56b1a915-da7a-4109-97cd-4a546fabdbde-2015-08-14 10:25:40Z-PS"
+ "0ae364d6-7a9e-40e4-8658-f0e06c0de7c8-2015-08-24 11:14:32Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"status\": \"Registered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"containerType\": \"IaasVM\",\r\n \"parentContainerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/containers\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
@@ -152,29 +152,29 @@
"no-cache"
],
"x-ms-request-id": [
- "f88725ce-30e4-4405-a6f9-5eae2f9bc9d3"
+ "a4e766c4-feff-4839-8717-22543e0d3986"
],
"x-ms-client-request-id": [
- "56b1a915-da7a-4109-97cd-4a546fabdbde-2015-08-14 10:25:40Z-PS",
- "56b1a915-da7a-4109-97cd-4a546fabdbde-2015-08-14 10:25:40Z-PS"
+ "0ae364d6-7a9e-40e4-8658-f0e06c0de7c8-2015-08-24 11:14:32Z-PS",
+ "0ae364d6-7a9e-40e4-8658-f0e06c0de7c8-2015-08-24 11:14:32Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
+ "14999"
],
"x-ms-correlation-request-id": [
- "f88725ce-30e4-4405-a6f9-5eae2f9bc9d3"
+ "a4e766c4-feff-4839-8717-22543e0d3986"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T102543Z:f88725ce-30e4-4405-a6f9-5eae2f9bc9d3"
+ "CENTRALUS:20150824T111435Z:a4e766c4-feff-4839-8717-22543e0d3986"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 10:25:43 GMT"
+ "Mon, 24 Aug 2015 11:14:35 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -186,8 +186,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=containerType%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPWNvbnRhaW5lclR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSc=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=type%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPXR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -195,10 +195,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "fff73c43-0e6e-4137-b54f-4e1bc214edf6-2015-08-14 10:25:43Z-PS"
+ "fd17ac5f-faf7-46a1-9eb2-660f7e7d9af4-2015-08-24 11:14:36Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"status\": \"Registered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"containerType\": \"IaasVM\",\r\n \"parentContainerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/containers\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
@@ -216,29 +216,29 @@
"no-cache"
],
"x-ms-request-id": [
- "e5e16955-fb54-4c23-a222-baedd71224d5"
+ "aa47c965-a832-4c87-986d-da50f79d4cd2"
],
"x-ms-client-request-id": [
- "fff73c43-0e6e-4137-b54f-4e1bc214edf6-2015-08-14 10:25:43Z-PS",
- "fff73c43-0e6e-4137-b54f-4e1bc214edf6-2015-08-14 10:25:43Z-PS"
+ "fd17ac5f-faf7-46a1-9eb2-660f7e7d9af4-2015-08-24 11:14:36Z-PS",
+ "fd17ac5f-faf7-46a1-9eb2-660f7e7d9af4-2015-08-24 11:14:36Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14998"
],
"x-ms-correlation-request-id": [
- "e5e16955-fb54-4c23-a222-baedd71224d5"
+ "aa47c965-a832-4c87-986d-da50f79d4cd2"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T102544Z:e5e16955-fb54-4c23-a222-baedd71224d5"
+ "CENTRALUS:20150824T111436Z:aa47c965-a832-4c87-986d-da50f79d4cd2"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 10:25:44 GMT"
+ "Mon, 24 Aug 2015 11:14:36 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupRegisterContainerScenarioTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupRegisterContainerScenarioTests.json
index 7cc891273d27..8d769a6f217d 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupRegisterContainerScenarioTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupRegisterContainerScenarioTests.json
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "6e091fde-9338-4f63-b81c-12565d6486f4-2015-08-18 15:40:22Z-PS"
+ "0b564194-6328-4a17-aa8c-719de153d988-2015-08-24 11:25:05Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1\",\r\n \"name\": \"backuprn1\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "458"
+ "237"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
+ "14999"
],
"x-ms-request-id": [
- "82213eae-32b6-407e-98f1-1907fc2f47a0"
+ "cff6fdf6-25c4-496d-a9e3-b9760455ccf0"
],
"x-ms-correlation-request-id": [
- "82213eae-32b6-407e-98f1-1907fc2f47a0"
+ "cff6fdf6-25c4-496d-a9e3-b9760455ccf0"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150818T154023Z:82213eae-32b6-407e-98f1-1907fc2f47a0"
+ "CENTRALUS:20150824T112507Z:cff6fdf6-25c4-496d-a9e3-b9760455ccf0"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,7 +49,7 @@
"no-cache"
],
"Date": [
- "Tue, 18 Aug 2015 15:40:23 GMT"
+ "Mon, 24 Aug 2015 11:25:06 GMT"
]
},
"StatusCode": 200
@@ -64,13 +64,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "6e091fde-9338-4f63-b81c-12565d6486f4-2015-08-18 15:40:22Z-PS"
+ "0b564194-6328-4a17-aa8c-719de153d988-2015-08-24 11:25:05Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 3420983535961922368,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 6476019202094164610,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"106"
@@ -85,29 +85,29 @@
"no-cache"
],
"x-ms-request-id": [
- "de793bd2-316c-41e1-8c4c-9c279ed82e85"
+ "4503ceed-b420-4738-927f-a806a68c0fae"
],
"x-ms-client-request-id": [
- "6e091fde-9338-4f63-b81c-12565d6486f4-2015-08-18 15:40:22Z-PS",
- "6e091fde-9338-4f63-b81c-12565d6486f4-2015-08-18 15:40:22Z-PS"
+ "0b564194-6328-4a17-aa8c-719de153d988-2015-08-24 11:25:05Z-PS",
+ "0b564194-6328-4a17-aa8c-719de153d988-2015-08-24 11:25:05Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
+ "14998"
],
"x-ms-correlation-request-id": [
- "de793bd2-316c-41e1-8c4c-9c279ed82e85"
+ "4503ceed-b420-4738-927f-a806a68c0fae"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150818T154033Z:de793bd2-316c-41e1-8c4c-9c279ed82e85"
+ "CENTRALUS:20150824T112509Z:4503ceed-b420-4738-927f-a806a68c0fae"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Tue, 18 Aug 2015 15:40:33 GMT"
+ "Mon, 24 Aug 2015 11:25:09 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -116,8 +116,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=containerType%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'powershellbvt'%20and%20status%20eq%20'NotRegistered'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPWNvbnRhaW5lclR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAncG93ZXJzaGVsbGJ2dCclMjBhbmQlMjBzdGF0dXMlMjBlcSUyMCdOb3RSZWdpc3RlcmVkJw==",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=type%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'%20and%20status%20eq%20'NotRegistered'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPXR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSclMjBhbmQlMjBzdGF0dXMlMjBlcSUyMCdOb3RSZWdpc3RlcmVkJw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -125,13 +125,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"powershellbvt\",\r\n \"status\": \"NotRegistered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"containerType\": \"IaasVM\",\r\n \"parentContainerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/powershellbvt\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/iaasvmcontainer;powershellbvt;powershellbvt\",\r\n \"name\": \"iaasvmcontainer;powershellbvt;powershellbvt\",\r\n \"type\": \"Microsoft.Backup/BackupVault/containers\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"status\": \"NotRegistered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"containerType\": \"IaasVM\",\r\n \"parentContainerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/containers\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
"609"
@@ -146,29 +146,29 @@
"no-cache"
],
"x-ms-request-id": [
- "5c0187c9-f3d8-4a00-9cc2-fb2c2092753b"
+ "460a48bd-cf32-40e5-84fe-6f160054bf90"
],
"x-ms-client-request-id": [
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS",
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS",
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
+ "14999"
],
"x-ms-correlation-request-id": [
- "5c0187c9-f3d8-4a00-9cc2-fb2c2092753b"
+ "460a48bd-cf32-40e5-84fe-6f160054bf90"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150818T154036Z:5c0187c9-f3d8-4a00-9cc2-fb2c2092753b"
+ "CENTRALUS:20150824T112512Z:460a48bd-cf32-40e5-84fe-6f160054bf90"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Tue, 18 Aug 2015 15:40:36 GMT"
+ "Mon, 24 Aug 2015 11:25:12 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -180,8 +180,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bpowershellbvt%3Bpowershellbvt?api-version=2014-09-01",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQnBvd2Vyc2hlbGxidnQlM0Jwb3dlcnNoZWxsYnZ0P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
"RequestMethod": "PUT",
"RequestBody": "",
"RequestHeaders": {
@@ -189,16 +189,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS"
],
"x-ms-version": [
"2013-03-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "\"8fe78e98-472c-4f34-889f-504c16c7c6a9\"",
+ "ResponseBody": "\"fba7c4ab-d6e2-4f32-b2ca-aef55703fbe7\"",
"ResponseHeaders": {
"Content-Length": [
"38"
@@ -213,29 +213,29 @@
"no-cache"
],
"x-ms-request-id": [
- "ddf87ac3-99d2-4ab1-af09-20a581bfb084"
+ "e63b35e3-796d-4902-983f-9c36eda26651"
],
"x-ms-client-request-id": [
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS",
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS",
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "999998"
],
"x-ms-correlation-request-id": [
- "ddf87ac3-99d2-4ab1-af09-20a581bfb084"
+ "e63b35e3-796d-4902-983f-9c36eda26651"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150818T154038Z:ddf87ac3-99d2-4ab1-af09-20a581bfb084"
+ "CENTRALUS:20150824T112513Z:e63b35e3-796d-4902-983f-9c36eda26651"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Tue, 18 Aug 2015 15:40:38 GMT"
+ "Mon, 24 Aug 2015 11:25:13 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -247,8 +247,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/8fe78e98-472c-4f34-889f-504c16c7c6a9?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvOGZlNzhlOTgtNDcyYy00ZjM0LTg4OWYtNTA0YzE2YzdjNmE5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/fba7c4ab-d6e2-4f32-b2ca-aef55703fbe7?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvZmJhN2M0YWItZDZlMi00ZjMyLWIyY2EtYWVmNTU3MDNmYmU3P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -256,13 +256,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"2df287f4-5ba0-4530-b7bd-f78c34bace8a\"\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"065302f5-8700-41d7-848c-db7bf575496f\"\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"107"
@@ -277,29 +277,29 @@
"no-cache"
],
"x-ms-request-id": [
- "6f678bec-a5b8-49c0-885d-a820d913b40e"
+ "bcff8db2-3edf-4d3d-9ec3-f62927076c13"
],
"x-ms-client-request-id": [
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS",
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS",
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
+ "14998"
],
"x-ms-correlation-request-id": [
- "6f678bec-a5b8-49c0-885d-a820d913b40e"
+ "bcff8db2-3edf-4d3d-9ec3-f62927076c13"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150818T154039Z:6f678bec-a5b8-49c0-885d-a820d913b40e"
+ "CENTRALUS:20150824T112514Z:bcff8db2-3edf-4d3d-9ec3-f62927076c13"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Tue, 18 Aug 2015 15:40:39 GMT"
+ "Mon, 24 Aug 2015 11:25:14 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -311,8 +311,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/2df287f4-5ba0-4530-b7bd-f78c34bace8a?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMmRmMjg3ZjQtNWJhMC00NTMwLWI3YmQtZjc4YzM0YmFjZThhP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/065302f5-8700-41d7-848c-db7bf575496f?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMDY1MzAyZjUtODcwMC00MWQ3LTg0OGMtZGI3YmY1NzU0OTZmP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -320,16 +320,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"powershellbvt\",\r\n \"Cloud Service\": \"powershellbvt\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-18T15:40:36.3766125Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.8034889\",\r\n \"entityFriendlyName\": \"powershellbvt\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/2df287f4-5ba0-4530-b7bd-f78c34bace8a\",\r\n \"name\": \"2df287f4-5ba0-4530-b7bd-f78c34bace8a\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-24T11:25:13.5885186Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:01.7311888\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/065302f5-8700-41d7-848c-db7bf575496f\",\r\n \"name\": \"065302f5-8700-41d7-848c-db7bf575496f\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "677"
+ "681"
],
"Content-Type": [
"application/json"
@@ -341,29 +341,29 @@
"no-cache"
],
"x-ms-request-id": [
- "5569d853-28fe-4006-8a64-8880c5005433"
+ "24b49ff0-d366-4b0a-b199-15bb6fb1905a"
],
"x-ms-client-request-id": [
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS",
- "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS",
+ "ce6d85f1-e475-4bc4-97d1-4640f7a987e2-2015-08-24 11:25:09Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14997"
],
"x-ms-correlation-request-id": [
- "5569d853-28fe-4006-8a64-8880c5005433"
+ "24b49ff0-d366-4b0a-b199-15bb6fb1905a"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150818T154040Z:5569d853-28fe-4006-8a64-8880c5005433"
+ "CENTRALUS:20150824T112515Z:24b49ff0-d366-4b0a-b199-15bb6fb1905a"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Tue, 18 Aug 2015 15:40:39 GMT"
+ "Mon, 24 Aug 2015 11:25:14 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupUnregisterContainerScenarioTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupUnregisterContainerScenarioTests.json
index 1224f18479e4..ae40b6f82111 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupUnregisterContainerScenarioTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupUnregisterContainerScenarioTests.json
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "6c250745-4225-438b-89da-eea604d94145-2015-08-14 11:07:31Z-PS"
+ "f789315e-ee4c-41f6-b039-b10eba85d1d1-2015-08-24 11:17:53Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/hydrarecording/providers/Microsoft.Backup/BackupVault/hydrarecordingrn\",\r\n \"name\": \"hydrarecordingrn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n },\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/pragrawa-rg/providers/Microsoft.Backup/BackupVault/pragrawa-rg01\",\r\n \"name\": \"pragrawa-rg01\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"westus\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn\",\r\n \"name\": \"backuprn\",\r\n \"type\": \"Microsoft.Backup/BackupVault\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "710"
+ "237"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -31,16 +31,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
+ "14999"
],
"x-ms-request-id": [
- "7b4de7bb-3574-414c-aae9-c32bb5270182"
+ "a9f3ef9b-6d96-42d5-8e81-1bcc49e70a0d"
],
"x-ms-correlation-request-id": [
- "7b4de7bb-3574-414c-aae9-c32bb5270182"
+ "a9f3ef9b-6d96-42d5-8e81-1bcc49e70a0d"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110732Z:7b4de7bb-3574-414c-aae9-c32bb5270182"
+ "CENTRALUS:20150824T111755Z:a9f3ef9b-6d96-42d5-8e81-1bcc49e70a0d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,7 +49,7 @@
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:07:31 GMT"
+ "Mon, 24 Aug 2015 11:17:54 GMT"
]
},
"StatusCode": 200
@@ -64,16 +64,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "6c250745-4225-438b-89da-eea604d94145-2015-08-14 11:07:31Z-PS"
+ "f789315e-ee4c-41f6-b039-b10eba85d1d1-2015-08-24 11:17:53Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 6476019202094164610,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "110"
+ "106"
],
"Content-Type": [
"application/json"
@@ -85,29 +85,29 @@
"no-cache"
],
"x-ms-request-id": [
- "ecaf0dbd-787b-4a9d-97c3-a33a5a7379ea"
+ "de1bdb9f-c8d6-4850-879d-5411551f6b66"
],
"x-ms-client-request-id": [
- "6c250745-4225-438b-89da-eea604d94145-2015-08-14 11:07:31Z-PS",
- "6c250745-4225-438b-89da-eea604d94145-2015-08-14 11:07:31Z-PS"
+ "f789315e-ee4c-41f6-b039-b10eba85d1d1-2015-08-24 11:17:53Z-PS",
+ "f789315e-ee4c-41f6-b039-b10eba85d1d1-2015-08-24 11:17:53Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
+ "14998"
],
"x-ms-correlation-request-id": [
- "ecaf0dbd-787b-4a9d-97c3-a33a5a7379ea"
+ "de1bdb9f-c8d6-4850-879d-5411551f6b66"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110743Z:ecaf0dbd-787b-4a9d-97c3-a33a5a7379ea"
+ "CENTRALUS:20150824T111757Z:de1bdb9f-c8d6-4850-879d-5411551f6b66"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:07:43 GMT"
+ "Mon, 24 Aug 2015 11:17:57 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -116,8 +116,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=containerType%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPWNvbnRhaW5lclR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSc=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers?api-version=2014-09-01&$filter=type%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPXR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -125,10 +125,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "b9f77ba4-d5ce-4d54-a761-eeb4c9d2659d-2015-08-14 11:07:43Z-PS"
+ "5a5bbcb5-4c64-4689-a931-876ed94f5e6d-2015-08-24 11:17:57Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"status\": \"Registered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"containerType\": \"IaasVM\",\r\n \"parentContainerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/containers/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/containers\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
@@ -146,29 +146,29 @@
"no-cache"
],
"x-ms-request-id": [
- "bd731385-07df-4cb9-a3d9-5b46c4e6095d"
+ "bd6380f3-37fa-4714-b73c-0f0f033d2783"
],
"x-ms-client-request-id": [
- "b9f77ba4-d5ce-4d54-a761-eeb4c9d2659d-2015-08-14 11:07:43Z-PS",
- "b9f77ba4-d5ce-4d54-a761-eeb4c9d2659d-2015-08-14 11:07:43Z-PS"
+ "5a5bbcb5-4c64-4689-a931-876ed94f5e6d-2015-08-24 11:17:57Z-PS",
+ "5a5bbcb5-4c64-4689-a931-876ed94f5e6d-2015-08-24 11:17:57Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14983"
+ "14999"
],
"x-ms-correlation-request-id": [
- "bd731385-07df-4cb9-a3d9-5b46c4e6095d"
+ "bd6380f3-37fa-4714-b73c-0f0f033d2783"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110746Z:bd731385-07df-4cb9-a3d9-5b46c4e6095d"
+ "CENTRALUS:20150824T111800Z:bd6380f3-37fa-4714-b73c-0f0f033d2783"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:07:45 GMT"
+ "Mon, 24 Aug 2015 11:18:00 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -189,13 +189,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "\"957ed0ce-e696-4dad-ac6b-efface1b4e7c\"",
+ "ResponseBody": "\"85bc9c9b-ba94-474d-a5bf-a191afe58f53\"",
"ResponseHeaders": {
"Content-Length": [
"38"
@@ -210,29 +210,29 @@
"no-cache"
],
"x-ms-request-id": [
- "891112b4-4467-4309-b256-7c0eb0409dac"
+ "30abba00-f4b3-4b16-9e12-20924b4a4950"
],
"x-ms-client-request-id": [
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS",
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS",
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "999994"
+ "999999"
],
"x-ms-correlation-request-id": [
- "891112b4-4467-4309-b256-7c0eb0409dac"
+ "30abba00-f4b3-4b16-9e12-20924b4a4950"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110747Z:891112b4-4467-4309-b256-7c0eb0409dac"
+ "CENTRALUS:20150824T111801Z:30abba00-f4b3-4b16-9e12-20924b4a4950"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:07:46 GMT"
+ "Mon, 24 Aug 2015 11:18:01 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -244,8 +244,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/957ed0ce-e696-4dad-ac6b-efface1b4e7c?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvOTU3ZWQwY2UtZTY5Ni00ZGFkLWFjNmItZWZmYWNlMWI0ZTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/85bc9c9b-ba94-474d-a5bf-a191afe58f53?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvODViYzljOWItYmE5NC00NzRkLWE1YmYtYTE5MWFmZTU4ZjUzP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -253,16 +253,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"BMSUserErrorContainerHasDatasources\",\r\n \"message\": \"Failed to unregister a registered item. This item contains protected child items. Please stop protection and then delete the protected child items before attempting to unregister the parent item.\"\r\n },\r\n \"jobList\": [\r\n \"15ba1ed4-4d41-478f-aca7-63eaef3435fe\"\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"8bd0c467-995d-4d78-bfbd-47e3a9b8e5e5\"\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "333"
+ "107"
],
"Content-Type": [
"application/json"
@@ -274,29 +274,29 @@
"no-cache"
],
"x-ms-request-id": [
- "4aefa749-f224-4cd5-b002-739c5995d37c"
+ "9e8e346a-17bc-4462-b5d0-8926d6da4755"
],
"x-ms-client-request-id": [
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS",
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS",
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14982"
+ "14998"
],
"x-ms-correlation-request-id": [
- "4aefa749-f224-4cd5-b002-739c5995d37c"
+ "9e8e346a-17bc-4462-b5d0-8926d6da4755"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110748Z:4aefa749-f224-4cd5-b002-739c5995d37c"
+ "CENTRALUS:20150824T111802Z:9e8e346a-17bc-4462-b5d0-8926d6da4755"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:07:47 GMT"
+ "Mon, 24 Aug 2015 11:18:01 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -308,8 +308,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/15ba1ed4-4d41-478f-aca7-63eaef3435fe?api-version=2014-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMTViYTFlZDQtNGQ0MS00NzhmLWFjYTctNjNlYWVmMzQzNWZlP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/8bd0c467-995d-4d78-bfbd-47e3a9b8e5e5?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOGJkMGM0NjctOTk1ZC00ZDc4LWJmYmQtNDdlM2E5YjhlNWU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -317,16 +317,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Failed\",\r\n \"startTimestamp\": \"2015-08-14T11:07:47.5082523Z\",\r\n \"endTimestamp\": \"2015-08-14T11:07:47.5082523Z\",\r\n \"duration\": \"00:00:00\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": [\r\n {\r\n \"errorCode\": 134607755,\r\n \"errorTitle\": \"\",\r\n \"errorString\": \"Failed to unregister a registered item.\",\r\n \"recommendations\": [\r\n \"This item contains protected child items. Please stop protection and then delete the protected child items before attempting to unregister the parent item.\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/15ba1ed4-4d41-478f-aca7-63eaef3435fe\",\r\n \"name\": \"15ba1ed4-4d41-478f-aca7-63eaef3435fe\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-24T11:18:01.4252877Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:01.9029908\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/8bd0c467-995d-4d78-bfbd-47e3a9b8e5e5\",\r\n \"name\": \"8bd0c467-995d-4d78-bfbd-47e3a9b8e5e5\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "946"
+ "683"
],
"Content-Type": [
"application/json"
@@ -338,29 +338,29 @@
"no-cache"
],
"x-ms-request-id": [
- "0b84a442-b6b5-413f-bb5d-e0508aa17b94"
+ "d75f2a52-ad01-4fb2-b33d-1fd04f44602a"
],
"x-ms-client-request-id": [
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS",
- "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS",
+ "cfb8a2b4-2e84-464c-9e60-1d056e6f7d36-2015-08-24 11:18:00Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14981"
+ "14997"
],
"x-ms-correlation-request-id": [
- "0b84a442-b6b5-413f-bb5d-e0508aa17b94"
+ "d75f2a52-ad01-4fb2-b33d-1fd04f44602a"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150814T110748Z:0b84a442-b6b5-413f-bb5d-e0508aa17b94"
+ "CENTRALUS:20150824T111803Z:d75f2a52-ad01-4fb2-b33d-1fd04f44602a"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 14 Aug 2015 11:07:48 GMT"
+ "Mon, 24 Aug 2015 11:18:03 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/VaultAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/VaultAdapter.cs
index 6c4d36b51dab..7867512414d2 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/VaultAdapter.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/VaultAdapter.cs
@@ -117,9 +117,12 @@ public IEnumerable GetVaultsInResourceGroup(string resourceGro
///
///
///
- public void DeleteVault(string resourceGroupName, string vaultName)
+ public bool DeleteVault(string resourceGroupName, string vaultName)
{
- AzureBackupVaultClient.Vault.DeleteAsync(resourceGroupName, vaultName, GetCustomRequestHeaders(), CmdletCancellationToken).Wait();
+ AzureBackupVaultGetResponse response = AzureBackupVaultClient.Vault.DeleteAsync(resourceGroupName, vaultName, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+
+ // OneSDK will return only either OK or NoContent
+ return response.StatusCode == System.Net.HttpStatusCode.OK;
}
public VaultCredUploadCertResponse UploadCertificate(string resourceGroupName, string resourceName, string certName, VaultCredUploadCertRequest request)
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs
index aac86a2f5ebd..58f9b5e80f11 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs
@@ -33,7 +33,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of containers
///
- [Cmdlet(VerbsLifecycle.Register, "AzureRMBackupContainer", DefaultParameterSetName = V1VMParameterSet), OutputType(typeof(AzureRMBackupJob))]
+ [Cmdlet(VerbsLifecycle.Register, "AzureRMBackupContainer"), OutputType(typeof(AzureRMBackupJob))]
public class RegisterAzureRMBackupContainer : AzureBackupVaultCmdletBase
{
internal const string V1VMParameterSet = "V1VM";
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs
index e161d8a4680a..aeb1338a6d9b 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs
@@ -45,7 +45,7 @@ public override void ExecuteCmdlet()
}
else
{
- var exception = new ArgumentException(string.Format(Resources.PolicyNotFound, policyInfo.Name));
+ var exception = new ArgumentException(string.Format(Resources.PolicyNotFound, ProtectionPolicy.Name));
throw exception;
}
});
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
index 24fd5cbda339..b0a64c1f1a0f 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
@@ -12,6 +12,8 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System;
using System.Management.Automation;
namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
@@ -28,7 +30,10 @@ public override void ExecuteCmdlet()
{
base.ExecuteCmdlet();
- AzureBackupClient.DeleteVault(Vault.ResourceGroupName, Vault.Name);
+ if (!AzureBackupClient.DeleteVault(Vault.ResourceGroupName, Vault.Name))
+ {
+ throw new Exception(Resources.ResourceNotFoundMessage);
+ }
});
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
index c6bbbb3be6e6..9562723b6b0a 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
@@ -58,7 +58,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.3-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll
+ Resources\Microsoft.Azure.Management.BackupServicesManagement.dll
False
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
index 28203c10b30d..b6bca7072396 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
@@ -148,10 +148,12 @@ Please contact Microsoft for further assistant.
Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}, Location: {2}
- For daily backup schedule, protection policy cannot have DaysOfWeek param in backup schedule
+ For a daily backup schedule, using the DaysOfWeek parameter is not allowed
+ Scrubbed
- For weekly backup schedule, DaysOfWeek in backup schedule is mandatory and cannot be empty
+ For a weekly backup schedule, using the DaysOfWeek parameter is mandatory
+ Scrubbed
AzureBackupVault.Name
@@ -190,22 +192,26 @@ Please contact Microsoft for further assistant.
Creating backup vault with ResourceGroupName: {0}, ResourceName: {1}
- Only one AzureBackupDailyRetentionPolicy in RetentionPolicies is allowed
+ Only one daily retention policy is allowed for a Protection Policy
+ Scrubbed
- For AzureBackupDailyRetentionPolicy , valid values of retention are {0} to {1}
+ The daily retention value should be between {0} and {1}
+ Scrubbed
- For Daily Schedule, AzureBackupDailyRetentionPolicy in RetentionPolicies param is mandatory
+ For a daily backup schedule, setting a daily retention policy is mandatory
+ Scrubbed
- Days of the month in Monthly/Yearly retention is not allowed for weekly backup Schedules
+ Using the DaysOfMonth parameter in retention policies is not allowed when weekly backup schedules are used
+ Scrubbed
- DaysofTheWeek list in Weekly retention schedule must be same of backup schedule DaysOfTheWeek
+ The DaysOfWeek specified in a weekly retention schedule should be same as of DaysOfWeek value specified in the backup schedule
- DaysOfTheWeek of retention schedule must be same of backup schedule DaysOfTheWeek
+ The DaysOfWeek specified in a weekly retention schedule should be same as of DaysOfWeek value specified in the backup schedule
Desired Container is not found. Returning with isDiscoveryNeed = true
@@ -256,28 +262,36 @@ Please contact Microsoft for further assistant.
Making client call
- For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Days, DaysOfMonth param is mandatory and can not be empty
+ For a monthly retention policy specified in days, using the DaysOfMonth parameter is mandatory
+ Scrubbed
- For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed.
+ For a monthly retention policy specified in weeks, using the DaysOfMonth parameter is not allowed
+ Scrubbed
- For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfWeek param is mandatory and can not be empty
+ For a monthly retention policy specified in weeks, using the DaysOfWeek parameter is mandatory
+ Scrubbed
- For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed
+ For a monthly retention policy specified in days, using the DaysOfWeek and WeekNumber parameters is not allowed
+ Scrubbed
- Only one AzureBackupMonthlyRetentionPolicy in RetentionPolicies is allowed
+ Only one monthly retention policy is allowed for a Protection Policy
+ Scrubbed
- For AzureBackupMonthlyRetentionPolicy , valid values of retention are {0} to {1}
+ The monthly retention value should be between {0} and {1}
+ Scrubbed
- For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, WeekNumber param is mandatory and can not be empty
+ For a monthly retention policy specified in weeks, using the WeekNumber parameter is mandatory
+ Scrubbed
- Days of the week list in Monthly/Yearly retention schedule should be subset of Day of week list in Backup Schedule
+ The DaysOfWeek specified for monthly and yearly retention policies should be a subset of the DaysOfWeek value specified in the backup schedule
+ Scrubbed
No recovery point exist with Id := {0}
@@ -295,13 +309,16 @@ Please contact Microsoft for further assistant.
OperationStatus : {0}
- A protection policy with the specified name already exists.
+ A protection policy with the specified name already exists
+ Scrubbed
- For DaysOfWeek, weekly switch param is required
+ The DaysOfWeek parameter should be used in conjunction with the –Weekly switch parameter
+ Scrubbed
Protection Policy {0} not found
+ Scrubbed
ParameterSetName = {0}
@@ -320,9 +337,11 @@ Please contact Microsoft for further assistant.
The protection policy name should contain alphanumeric characters and cannot start with a number
+ Scrubbed
The protection policy name must contain between 3 and 150 characters
+ Scrubbed
Please make sure you have pass right set of parameters
@@ -419,45 +438,59 @@ Please contact Microsoft for further assistant.
Received WebException, Response: {0}, Status: {1}
- For AzureBackupWeeklyRetentionPolicy , DaysOfWeek param is mandatory and can not be empty
+ For a weekly retention policy, using the DaysOfWeek parameter is mandatory
+ Scrubbed
- Only one AzureBackupWeeklyRetentionPolicy in RetentionPolicies is allowed
+ Only one weekly retention policy is allowed for a Protection Policy
+ Scrubbed
- For AzureBackupWeeklyRetentionPolicy , valid values of retention are {0} to {1}
+ The weekly retention value should be between {0} and {1}
+ Scrubbed
- For Weekly Schedule, AzureBackupWeeklyRetentionPolicy in RetentionPolicies param is mandatory
+ For a weekly backup schedule, setting a weekly retention policy is mandatory
+ Scrubbed
- For weekly scheduletype , ScheduleRunDays param is mandatory and can not be empty.
+ For a weekly backup schedule, using the DaysOfWeek parameter is mandatory
+ Scrubbed
- For Weekly Schedule, AzureBackupDailyRetentionPolicy in RetentionPolicies param is not allowed
+ For a weekly backup schedule, setting a daily retention policy is not allowed
+ Scrubbed
- For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed
+ For a yearly retention policy specified in days, using the MonthsOfYear and DaysOfMonth parameters is not allowed
+ Scrubbed
- For AzureBackupYearlyRetentionPolicy and RetentionFormat in Days, DaysOfMonth param is mandatory and can not be empty
+ For a yearly retention policy specified in days, using the MonthsOfYear and DaysOfMonth parameters is mandatory
+ Scrubbed
- For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfWeek param is mandatory and can not be empty
+ For a yearly retention policy specified in weeks, using the DaysOfWeek and WeekNumber parameters is mandatory
+ Scrubbed
- For AzureBackupYearlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed
+ For a yearly retention policy specified in days, using the DaysOfWeek and WeekNumber parameters is not allowed
+ Scrubbed
- Only one AzureBackupYearlyRetentionPolicy in RetentionPolicies is allowed
+ Only one yearly retention policy is allowed for a Protection Policy
+ Scrubbed
- For AzureBackupYearlyRetentionPolicy and RetentionFormat in days, MonthsOfYear param is mandatory and can not be empty
+ For a yearly retention policy specified in days, using the MonthsOfYear and DaysOfMonth parameters is mandatory
+ Scrubbed
- For AzureBackupYearlyRetentionPolicy , valid values of retention are {0} to {1}
+ Yearly retention value should be between {0} and {1}
+ Scrubbed
- For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, WeekNumber param is mandatory and can not be empty
+ For a yearly retention policy specified in weeks, using the DaysOfWeek and WeekNumber parameters is mandatory
+ Scrubbed
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Resources/Microsoft.Azure.Management.BackupServicesManagement.dll b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Resources/Microsoft.Azure.Management.BackupServicesManagement.dll
new file mode 100644
index 000000000000..dbee840b00a5
Binary files /dev/null and b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Resources/Microsoft.Azure.Management.BackupServicesManagement.dll differ