diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/BackupServices.Tests.csproj b/src/ResourceManagement/AzureBackup/BackupServices.Tests/BackupServices.Tests.csproj
index c0f97109446a..cc26d67c2c1e 100644
--- a/src/ResourceManagement/AzureBackup/BackupServices.Tests/BackupServices.Tests.csproj
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/BackupServices.Tests.csproj
@@ -50,54 +50,41 @@
Designer
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
-
- Always
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/CSMAzureBackupItem.cs b/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/CSMAzureBackupItem.cs
index 892e12288f6b..3018245fbc7b 100644
--- a/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/CSMAzureBackupItem.cs
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/CSMAzureBackupItem.cs
@@ -148,8 +148,6 @@ public void ListAzureBackupItemDSTest()
Assert.True(!string.IsNullOrEmpty(ds.Properties.ContainerId), "ContainerId can't be null or empty");
Assert.True(!string.IsNullOrEmpty(ds.Properties.FriendlyName), "FriendlyName can't be null or empty");
Assert.True(!string.IsNullOrEmpty(ds.Properties.ItemType), "ItemType can't be null or empty");
- Assert.True(!string.IsNullOrEmpty(ds.Properties.LastBackupJobId), "LastBackupJobId can't be null or empty");
- Assert.True(!string.IsNullOrEmpty(ds.Properties.LastBackupStatus), "LastBackupStatus can't be null or empty");
Assert.True(!string.IsNullOrEmpty(ds.Properties.ProtectionPolicyId), "ProtectionPolicyId can't be null or empty");
Assert.True(!string.IsNullOrEmpty(ds.Properties.ProtectionStatus), "ProtectionStatus can't be null or empty");
Assert.True(!string.IsNullOrEmpty(ds.Properties.RecoveryPointsCount.ToString()), "RecoveryPointsCount can't be null or empty");
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/CSMProtectionPolicyTests.cs b/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/CSMProtectionPolicyTests.cs
index fdd496eab07b..e6d8e811370e 100644
--- a/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/CSMProtectionPolicyTests.cs
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/CSMProtectionPolicyTests.cs
@@ -32,7 +32,7 @@ public void ListProtectionPolicyTest()
Assert.True(!string.IsNullOrEmpty(ppo.Name), "Policy Name can't be null or empty");
if(ppo.Properties.BackupSchedule.ScheduleRun == "Daily")
{
- Assert.True(ppo.Properties.LtrRetentionPolicy.DailySchedule == null, "Daily RetentionType can't be null or empty for Daily Schedule");
+ Assert.True(ppo.Properties.LtrRetentionPolicy.DailySchedule != null, "Daily RetentionType can't be null or empty for Daily Schedule");
}
else
@@ -57,6 +57,7 @@ public void AddProtectionPolicyTest()
var addProtectionPolicyRequest = new CSMAddProtectionPolicyRequest();
string policyName = ConfigurationManager.AppSettings["PolicyName"];
addProtectionPolicyRequest.PolicyName = ConfigurationManager.AppSettings["PolicyName"];
+ addProtectionPolicyRequest.Properties = new CSMAddProtectionPolicyRequestProperties();
addProtectionPolicyRequest.Properties.PolicyName = ConfigurationManager.AppSettings["PolicyName"];
addProtectionPolicyRequest.Properties.BackupSchedule = backupSchedule;
addProtectionPolicyRequest.Properties.WorkloadType = ConfigurationManager.AppSettings["WorkloadType"];
@@ -77,6 +78,7 @@ public void UpdateProtectionPolicyTest()
var backupSchedule = GetBackupSchedule();
var updateProtectionPolicyRequest = new CSMUpdateProtectionPolicyRequest();
+ updateProtectionPolicyRequest.Properties = new CSMUpdateProtectionPolicyRequestProperties();
updateProtectionPolicyRequest.Properties.PolicyName = ConfigurationManager.AppSettings["ModifiedPolicyName"];
string policyName = ConfigurationManager.AppSettings["PolicyName"];
updateProtectionPolicyRequest.Properties.BackupSchedule = backupSchedule;
@@ -94,7 +96,7 @@ public void DeleteProtectionPolicyTest()
{
context.Start();
var client = GetServiceClient();
- string policyName = ConfigurationManager.AppSettings["PolicyName"];
+ string policyName = ConfigurationManager.AppSettings["ModifiedPolicyName"];
var response = client.CSMProtectionPolicy.Delete(policyName, GetCustomRequestHeaders());
Assert.Equal(HttpStatusCode.NoContent, response.StatusCode);
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.BackUpTests/TriggerBackUpTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.BackUpTests/TriggerBackUpTest.json
new file mode 100644
index 000000000000..d4ab4be1deb5
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.BackUpTests/TriggerBackUpTest.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/backup?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL2JhY2t1cD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "f03afff5-d083-4674-b709-243fcfcf1d77"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"2e6d306d-57aa-479b-9ded-0a2ab871974c\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c0f23ad8-7df7-49b8-ad2e-c9c94e6c825c"
+ ],
+ "x-ms-client-request-id": [
+ "f03afff5-d083-4674-b709-243fcfcf1d77",
+ "f03afff5-d083-4674-b709-243fcfcf1d77"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "c0f23ad8-7df7-49b8-ad2e-c9c94e6c825c"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T165043Z:c0f23ad8-7df7-49b8-ad2e-c9c94e6c825c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 16:50:43 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/DisableAzureBackupProtectionTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/DisableAzureBackupProtectionTest.json
new file mode 100644
index 000000000000..a406932361c8
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/DisableAzureBackupProtectionTest.json
@@ -0,0 +1,70 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "24379c2e-699f-4257-a872-2cf62dca9428"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"1d03bcc9-00d5-40ec-ad21-87cfe5147aec\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c9eb858d-b3e2-4d74-9ffc-e804165b0815"
+ ],
+ "x-ms-client-request-id": [
+ "24379c2e-699f-4257-a872-2cf62dca9428",
+ "24379c2e-699f-4257-a872-2cf62dca9428"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "c9eb858d-b3e2-4d74-9ffc-e804165b0815"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T152754Z:c9eb858d-b3e2-4d74-9ffc-e804165b0815"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:27:54 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/EnableAzureBackupProtectionTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/EnableAzureBackupProtectionTest.json
new file mode 100644
index 000000000000..7938602799ee
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/EnableAzureBackupProtectionTest.json
@@ -0,0 +1,76 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"policyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "203"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "0b674ff5-f40d-450f-8ad1-18320466be81"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"a19cf5c9-26f3-432d-9156-e8c3fe7a5755\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6661a1e1-903f-4bc5-820d-b2c993035a0f"
+ ],
+ "x-ms-client-request-id": [
+ "0b674ff5-f40d-450f-8ad1-18320466be81",
+ "0b674ff5-f40d-450f-8ad1-18320466be81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "6661a1e1-903f-4bc5-820d-b2c993035a0f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T152815Z:6661a1e1-903f-4bc5-820d-b2c993035a0f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:28:15 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/ListAzureBackupItemDSTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/ListAzureBackupItemDSTest.json
new file mode 100644
index 000000000000..69a09f48c21b
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/ListAzureBackupItemDSTest.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectedItems?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3RlZEl0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "0417244a-82e5-4740-a6a1-6d591624360f"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"protectionStatus\": \"IRPending\",\r\n \"protectionPolicyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/ProtPolicy01\",\r\n \"policyInconsistent\": true,\r\n \"recoveryPointsCount\": 0,\r\n \"lastRecoveryPoint\": null,\r\n \"lastBackupTime\": null,\r\n \"lastBackupStatus\": null,\r\n \"lastBackupJobId\": null,\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1177"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "47f40e6e-d50f-493d-a35e-615eab373700"
+ ],
+ "x-ms-client-request-id": [
+ "0417244a-82e5-4740-a6a1-6d591624360f",
+ "0417244a-82e5-4740-a6a1-6d591624360f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "47f40e6e-d50f-493d-a35e-615eab373700"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T151300Z:47f40e6e-d50f-493d-a35e-615eab373700"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:13:00 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/ListAzureBackupItemPOTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/ListAzureBackupItemPOTest.json
new file mode 100644
index 000000000000..f7458ba8e2b9
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/ListAzureBackupItemPOTest.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/items?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2l0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c6bb4a17-40cd-439a-a496-21e79bfb475f"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"friendlyName\": \"hydrarecordvm\",\r\n \"itemType\": \"IaasVM\",\r\n \"status\": \"Protected\",\r\n \"containerId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/items/iaasvmcontainer;hydrarecordvm;hydrarecordvm\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/items/iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"name\": \"iaasvmcontainer;hydrarecordvm;hydrarecordvm\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/items\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "735"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "8fcd46e6-cbe8-4a86-ba8f-0cc56ab96b4d"
+ ],
+ "x-ms-client-request-id": [
+ "c6bb4a17-40cd-439a-a496-21e79bfb475f",
+ "c6bb4a17-40cd-439a-a496-21e79bfb475f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "8fcd46e6-cbe8-4a86-ba8f-0cc56ab96b4d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T151342Z:8fcd46e6-cbe8-4a86-ba8f-0cc56ab96b4d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:13:42 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/UpdateAzureBackupProtectionTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/UpdateAzureBackupProtectionTest.json
new file mode 100644
index 000000000000..2aaa123be5e3
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.CSMAzureBackupItem/UpdateAzureBackupProtectionTest.json
@@ -0,0 +1,76 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"policyId\": \"\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "e3a60e87-c086-4c50-a669-709ba65cb4a8"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"2b75bf98-c73f-42d6-8726-84db602eb440\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "79021289-2496-43fa-978d-653d3e733a89"
+ ],
+ "x-ms-client-request-id": [
+ "e3a60e87-c086-4c50-a669-709ba65cb4a8",
+ "e3a60e87-c086-4c50-a669-709ba65cb4a8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1183"
+ ],
+ "x-ms-correlation-request-id": [
+ "79021289-2496-43fa-978d-653d3e733a89"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T151412Z:79021289-2496-43fa-978d-653d3e733a89"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:14:11 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {}
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/RefreshContainerTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/RefreshContainerTest.json
new file mode 100644
index 000000000000..caf6640bb460
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/RefreshContainerTest.json
@@ -0,0 +1,75 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/refreshContainers?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZnJlc2hDb250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "12441efb-4eae-45d4-9a45-eee0a5af9aac"
+ ],
+ "x-ms-version": [
+ "2013-03-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"dd98da05-0c4c-4f75-af66-3d6335dd3d30\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4da23873-f822-419b-b3c8-d424904b498f"
+ ],
+ "x-ms-client-request-id": [
+ "12441efb-4eae-45d4-9a45-eee0a5af9aac",
+ "12441efb-4eae-45d4-9a45-eee0a5af9aac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1186"
+ ],
+ "x-ms-correlation-request-id": [
+ "4da23873-f822-419b-b3c8-d424904b498f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T143125Z:4da23873-f822-419b-b3c8-d424904b498f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 14:31:25 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/RegisterContainerTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/RegisterContainerTest.json
new file mode 100644
index 000000000000..17b84ae52965
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/RegisterContainerTest.json
@@ -0,0 +1,75 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm%20?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtJTIwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "f0356cec-0d35-4fc5-ba51-e4880e5e548e"
+ ],
+ "x-ms-version": [
+ "2013-03-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"2e7fd1e7-d86d-40b9-89f7-b8205ea8b322\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "022069da-185b-4ddb-b070-d714cad176e0"
+ ],
+ "x-ms-client-request-id": [
+ "f0356cec-0d35-4fc5-ba51-e4880e5e548e",
+ "f0356cec-0d35-4fc5-ba51-e4880e5e548e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "022069da-185b-4ddb-b070-d714cad176e0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T144155Z:022069da-185b-4ddb-b070-d714cad176e0"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 14:41:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/UnregisterContainerTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/UnregisterContainerTest.json
new file mode 100644
index 000000000000..c646ba97ecc2
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ContainerTests/UnregisterContainerTest.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm%20?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtJTIwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "3ae276c7-ef56-4cdd-87a8-193959199827"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"960b403d-1539-4b77-a0f4-4961586d6c02\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "cccf145d-71d7-4a17-abc3-16185862332d"
+ ],
+ "x-ms-client-request-id": [
+ "3ae276c7-ef56-4cdd-87a8-193959199827",
+ "3ae276c7-ef56-4cdd-87a8-193959199827"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1185"
+ ],
+ "x-ms-correlation-request-id": [
+ "cccf145d-71d7-4a17-abc3-16185862332d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T144005Z:cccf145d-71d7-4a17-abc3-16185862332d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 14:40:05 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/CancelJobTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/CancelJobTest.json
new file mode 100644
index 000000000000..444535f81c32
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/CancelJobTest.json
@@ -0,0 +1,392 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/backup?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL2JhY2t1cD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "92034bc9-7ef5-4920-859f-17fde2d8be4e"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"2e2d5573-d465-41c0-b0e0-54ddb16b74d6\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "717ff76f-50a3-4506-8187-95e340ca7bd6"
+ ],
+ "x-ms-client-request-id": [
+ "92034bc9-7ef5-4920-859f-17fde2d8be4e",
+ "92034bc9-7ef5-4920-859f-17fde2d8be4e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "717ff76f-50a3-4506-8187-95e340ca7bd6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T154034Z:717ff76f-50a3-4506-8187-95e340ca7bd6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:40:34 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/2e2d5573-d465-41c0-b0e0-54ddb16b74d6?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMmUyZDU1NzMtZDQ2NS00MWMwLWIwZTAtNTRkZGIxNmI3NGQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "62638b92-385f-408e-ba01-de65385f54bb"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"81e65994-b2de-4590-b565-430aefb9778a\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2e89b67d-4d18-422b-978c-4d16485d5e6c"
+ ],
+ "x-ms-client-request-id": [
+ "62638b92-385f-408e-ba01-de65385f54bb",
+ "62638b92-385f-408e-ba01-de65385f54bb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-correlation-request-id": [
+ "2e89b67d-4d18-422b-978c-4d16485d5e6c"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T154043Z:2e89b67d-4d18-422b-978c-4d16485d5e6c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:40:43 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs?api-version=2014-09-01&$filter=status%20eq%20'InProgress'%20and%20operation%20eq%20'Backup'%20and%20name%20eq%20'81e65994-b2de-4590-b565-430aefb9778a'%20and%20startTime%20eq%20'2015-08-12%2003:40:53%20PM'%20and%20endTime%20eq%20'2015-08-13%2003:40:53%20PM'",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPXN0YXR1cyUyMGVxJTIwJ0luUHJvZ3Jlc3MnJTIwYW5kJTIwb3BlcmF0aW9uJTIwZXElMjAnQmFja3VwJyUyMGFuZCUyMG5hbWUlMjBlcSUyMCc4MWU2NTk5NC1iMmRlLTQ1OTAtYjU2NS00MzBhZWZiOTc3OGEnJTIwYW5kJTIwc3RhcnRUaW1lJTIwZXElMjAnMjAxNS0wOC0xMiUyMDAzJTNBNDAlM0E1MyUyMFBNJyUyMGFuZCUyMGVuZFRpbWUlMjBlcSUyMCcyMDE1LTA4LTEzJTIwMDMlM0E0MCUzQTUzJTIwUE0n",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "62b7df42-b824-43fb-88ba-9f488dec6f5e"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-13T15:40:34.8227255Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:20.6827762\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/81e65994-b2de-4590-b565-430aefb9778a\",\r\n \"name\": \"81e65994-b2de-4590-b565-430aefb9778a\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "558"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "0c792d53-cac6-4bdf-8037-3d0a1f36adec"
+ ],
+ "x-ms-client-request-id": [
+ "62b7df42-b824-43fb-88ba-9f488dec6f5e",
+ "62b7df42-b824-43fb-88ba-9f488dec6f5e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-correlation-request-id": [
+ "0c792d53-cac6-4bdf-8037-3d0a1f36adec"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T154055Z:0c792d53-cac6-4bdf-8037-3d0a1f36adec"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:40:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/81e65994-b2de-4590-b565-430aefb9778a/cancel?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvODFlNjU5OTQtYjJkZS00NTkwLWI1NjUtNDMwYWVmYjk3NzhhL2NhbmNlbD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "378f2950-f837-4acb-943c-5e13a477e57c"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"0390bf79-02cc-474f-be6d-84c6a1404cd6\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6a0fca76-6953-416b-a684-7935da035c67"
+ ],
+ "x-ms-client-request-id": [
+ "378f2950-f837-4acb-943c-5e13a477e57c",
+ "378f2950-f837-4acb-943c-5e13a477e57c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "6a0fca76-6953-416b-a684-7935da035c67"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T154059Z:6a0fca76-6953-416b-a684-7935da035c67"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:40:59 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/operationResults/0390bf79-02cc-474f-be6d-84c6a1404cd6?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMDM5MGJmNzktMDJjYy00NzRmLWJlNmQtODRjNmExNDA0Y2Q2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c24b6cf5-ac55-4921-8916-c083f949b58d"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"81e65994-b2de-4590-b565-430aefb9778a\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a9a6e7b7-9bef-4909-95eb-418bd4415ce2"
+ ],
+ "x-ms-client-request-id": [
+ "c24b6cf5-ac55-4921-8916-c083f949b58d",
+ "c24b6cf5-ac55-4921-8916-c083f949b58d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-correlation-request-id": [
+ "a9a6e7b7-9bef-4909-95eb-418bd4415ce2"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T154104Z:a9a6e7b7-9bef-4909-95eb-418bd4415ce2"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:41:03 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/81e65994-b2de-4590-b565-430aefb9778a?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvODFlNjU5OTQtYjJkZS00NTkwLWI1NjUtNDMwYWVmYjk3NzhhP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "566b17a8-1365-4bc3-addc-4bb764ca65a9"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [\r\n {\r\n \"taskId\": \"Take Snapshot\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Cancelling\",\r\n \"progressPercentage\": null\r\n },\r\n {\r\n \"taskId\": \"Transfer data to Backup vault\",\r\n \"startTime\": null,\r\n \"endTime\": null,\r\n \"duration\": \"00:00:00\",\r\n \"status\": \"Cancelling\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Cancelling\",\r\n \"startTimestamp\": \"2015-08-13T15:40:34.8227255Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:33.6333342\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/81e65994-b2de-4590-b565-430aefb9778a\",\r\n \"name\": \"81e65994-b2de-4590-b565-430aefb9778a\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "915"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e1ec7fc9-2bab-4362-95e0-338d3b0a96ab"
+ ],
+ "x-ms-client-request-id": [
+ "566b17a8-1365-4bc3-addc-4bb764ca65a9",
+ "566b17a8-1365-4bc3-addc-4bb764ca65a9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-correlation-request-id": [
+ "e1ec7fc9-2bab-4362-95e0-338d3b0a96ab"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T154108Z:e1ec7fc9-2bab-4362-95e0-338d3b0a96ab"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:41:08 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/GetJobDetailsTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/GetJobDetailsTest.json
new file mode 100644
index 000000000000..9aff83943a12
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/GetJobDetailsTest.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs?api-version=2014-09-01&$filter=startTime%20eq%20'2015-08-12%2003:25:30%20PM'%20and%20endTime%20eq%20'2015-08-13%2003:25:30%20PM'",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPXN0YXJ0VGltZSUyMGVxJTIwJzIwMTUtMDgtMTIlMjAwMyUzQTI1JTNBMzAlMjBQTSclMjBhbmQlMjBlbmRUaW1lJTIwZXElMjAnMjAxNS0wOC0xMyUyMDAzJTNBMjUlM0EzMCUyMFBNJw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "ea0c86d5-c350-4b47-95aa-2ac4bd7bd8bc"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T15:14:12.2964919Z\",\r\n \"endTimestamp\": \"2015-08-13T15:14:15.7035103Z\",\r\n \"duration\": \"00:00:03.4070184\",\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/670568d6-701f-4274-be1c-81a8a8b96f53\",\r\n \"name\": \"670568d6-701f-4274-be1c-81a8a8b96f53\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T15:10:17.1588309Z\",\r\n \"endTimestamp\": \"2015-08-13T15:10:20.1382886Z\",\r\n \"duration\": \"00:00:02.9794577\",\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/402fa232-0e07-4443-9451-a91e8d37a43c\",\r\n \"name\": \"402fa232-0e07-4443-9451-a91e8d37a43c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T14:41:55.8416488Z\",\r\n \"endTimestamp\": \"2015-08-13T14:42:17.7081414Z\",\r\n \"duration\": \"00:00:21.8664926\",\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/6c6b2a5c-ac49-48d5-b08c-b09eb00255c2\",\r\n \"name\": \"6c6b2a5c-ac49-48d5-b08c-b09eb00255c2\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T14:40:05.4314439Z\",\r\n \"endTimestamp\": \"2015-08-13T14:40:47.6855968Z\",\r\n \"duration\": \"00:00:42.2541529\",\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/19ecef30-540e-4094-baad-8749c2e0807a\",\r\n \"name\": \"19ecef30-540e-4094-baad-8749c2e0807a\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T14:34:41.7879543Z\",\r\n \"endTimestamp\": \"2015-08-13T14:35:25.0560628Z\",\r\n \"duration\": \"00:00:43.2681085\",\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/2135b3fc-69fc-4f4f-9392-00fc2659e8df\",\r\n \"name\": \"2135b3fc-69fc-4f4f-9392-00fc2659e8df\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2750"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "f9904bc1-9ac6-427a-9042-d31764001dee"
+ ],
+ "x-ms-client-request-id": [
+ "ea0c86d5-c350-4b47-95aa-2ac4bd7bd8bc",
+ "ea0c86d5-c350-4b47-95aa-2ac4bd7bd8bc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "f9904bc1-9ac6-427a-9042-d31764001dee"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T152532Z:f9904bc1-9ac6-427a-9042-d31764001dee"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:25:32 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/670568d6-701f-4274-be1c-81a8a8b96f53?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNjcwNTY4ZDYtNzAxZi00Mjc0LWJlMWMtODFhOGE4Yjk2ZjUzP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "20b08454-8ed5-4286-880e-4abec1dc12e9"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Delete Backup Data\": \"False\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T15:14:12.2964919Z\",\r\n \"endTimestamp\": \"2015-08-13T15:14:15.7035103Z\",\r\n \"duration\": \"00:00:03.4070184\",\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/670568d6-701f-4274-be1c-81a8a8b96f53\",\r\n \"name\": \"670568d6-701f-4274-be1c-81a8a8b96f53\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "682"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "d9e67509-a6b6-4c39-9fe9-8a3ae5c3d210"
+ ],
+ "x-ms-client-request-id": [
+ "20b08454-8ed5-4286-880e-4abec1dc12e9",
+ "20b08454-8ed5-4286-880e-4abec1dc12e9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-correlation-request-id": [
+ "d9e67509-a6b6-4c39-9fe9-8a3ae5c3d210"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T152533Z:d9e67509-a6b6-4c39-9fe9-8a3ae5c3d210"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:25:33 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/ListGetJobsTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/ListGetJobsTest.json
new file mode 100644
index 000000000000..f9f5cd9e2a8a
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.JobsTests/ListGetJobsTest.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs?api-version=2014-09-01&$filter=operation%20eq%20'Register'%20and%20startTime%20eq%20'2015-06-24%2003:25:09%20PM'%20and%20endTime%20eq%20'2015-08-13%2003:25:09%20PM'",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPW9wZXJhdGlvbiUyMGVxJTIwJ1JlZ2lzdGVyJyUyMGFuZCUyMHN0YXJ0VGltZSUyMGVxJTIwJzIwMTUtMDYtMjQlMjAwMyUzQTI1JTNBMDklMjBQTSclMjBhbmQlMjBlbmRUaW1lJTIwZXElMjAnMjAxNS0wOC0xMyUyMDAzJTNBMjUlM0EwOSUyMFBNJw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "861ccc2d-a80f-4551-8073-e8c62483b226"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T14:41:55.8416488Z\",\r\n \"endTimestamp\": \"2015-08-13T14:42:17.7081414Z\",\r\n \"duration\": \"00:00:21.8664926\",\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/6c6b2a5c-ac49-48d5-b08c-b09eb00255c2\",\r\n \"name\": \"6c6b2a5c-ac49-48d5-b08c-b09eb00255c2\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T14:34:41.7879543Z\",\r\n \"endTimestamp\": \"2015-08-13T14:35:25.0560628Z\",\r\n \"duration\": \"00:00:43.2681085\",\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/2135b3fc-69fc-4f4f-9392-00fc2659e8df\",\r\n \"name\": \"2135b3fc-69fc-4f4f-9392-00fc2659e8df\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1111"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4e4b8481-1253-4fd7-b672-cd81292cb0f8"
+ ],
+ "x-ms-client-request-id": [
+ "861ccc2d-a80f-4551-8073-e8c62483b226",
+ "861ccc2d-a80f-4551-8073-e8c62483b226"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "4e4b8481-1253-4fd7-b672-cd81292cb0f8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T152512Z:4e4b8481-1253-4fd7-b672-cd81292cb0f8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:25:11 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/AddProtectionPolicyTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/AddProtectionPolicyTest.json
new file mode 100644
index 000000000000..b431343b3cb8
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/AddProtectionPolicyTest.json
@@ -0,0 +1,78 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qcm90UG9saWN5MDE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"WorkloadType\": \"IaasVM\",\r\n \"PolicyName\": \"ProtPolicy01\",\r\n \"BackupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": [],\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"LTRRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": \"Days\"\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n \"Monday\"\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": \"Weeks\"\r\n }\r\n }\r\n }\r\n },\r\n \"PolicyName\": \"ProtPolicy01\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "843"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "19a4f97c-6424-4ac6-bb25-9b438d28bedc"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"00000000-0000-0000-0000-000000000000\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "500bc324-932d-4606-83f3-51a4a7506f59"
+ ],
+ "x-ms-client-request-id": [
+ "19a4f97c-6424-4ac6-bb25-9b438d28bedc",
+ "19a4f97c-6424-4ac6-bb25-9b438d28bedc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "500bc324-932d-4606-83f3-51a4a7506f59"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T150238Z:500bc324-932d-4606-83f3-51a4a7506f59"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:02:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/DeleteProtectionPolicyTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/DeleteProtectionPolicyTest.json
new file mode 100644
index 000000000000..69aa931100a3
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/DeleteProtectionPolicyTest.json
@@ -0,0 +1,66 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01_updated?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qcm90UG9saWN5MDFfdXBkYXRlZD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5e5cb91a-13c1-4f7f-827c-b1185606238b"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "cb9247b1-41b2-40f9-94fc-5feac754423a"
+ ],
+ "x-ms-client-request-id": [
+ "5e5cb91a-13c1-4f7f-827c-b1185606238b",
+ "5e5cb91a-13c1-4f7f-827c-b1185606238b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1185"
+ ],
+ "x-ms-correlation-request-id": [
+ "cb9247b1-41b2-40f9-94fc-5feac754423a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T150327Z:cb9247b1-41b2-40f9-94fc-5feac754423a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:03:26 GMT"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 204
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/ListProtectionPolicyTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/ListProtectionPolicyTest.json
new file mode 100644
index 000000000000..279698f99d61
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/ListProtectionPolicyTest.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "f75ac69c-0e9c-40b0-92be-3a682e91bf58"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"DefaultPolicy\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-14T00:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 30,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": null,\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy\",\r\n \"name\": \"DefaultPolicy\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"policyName\": \"ProtPolicy01\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": 1\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n 1\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": null,\r\n \"YearlySchedule\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01\",\r\n \"name\": \"ProtPolicy01\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1420"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "268593c6-04f4-451e-8194-dc625cf69a0d"
+ ],
+ "x-ms-client-request-id": [
+ "f75ac69c-0e9c-40b0-92be-3a682e91bf58",
+ "f75ac69c-0e9c-40b0-92be-3a682e91bf58"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-correlation-request-id": [
+ "268593c6-04f4-451e-8194-dc625cf69a0d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T145715Z:268593c6-04f4-451e-8194-dc625cf69a0d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 14:57:14 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/UpdateProtectionPolicyTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/UpdateProtectionPolicyTest.json
new file mode 100644
index 000000000000..94c407f92fd4
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.ProtectionPolicyTests/UpdateProtectionPolicyTest.json
@@ -0,0 +1,78 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/ProtPolicy01?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qcm90UG9saWN5MDE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"policyName\": \"ProtPolicy01_updated\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": [],\r\n \"scheduleRunTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 20,\r\n \"DurationType\": \"Days\"\r\n }\r\n },\r\n \"WeeklySchedule\": {\r\n \"DaysOfTheWeek\": [\r\n \"Monday\"\r\n ],\r\n \"RetentionTimes\": [\r\n \"2015-12-06T19:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 4,\r\n \"DurationType\": \"Weeks\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "787"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "55599f1a-c3b7-4cb6-8d69-9a3fdd0a80e8"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"00000000-0000-0000-0000-000000000000\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5b63903b-9664-4178-800c-80a982d7a68e"
+ ],
+ "x-ms-client-request-id": [
+ "55599f1a-c3b7-4cb6-8d69-9a3fdd0a80e8",
+ "55599f1a-c3b7-4cb6-8d69-9a3fdd0a80e8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "5b63903b-9664-4178-800c-80a982d7a68e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T150017Z:5b63903b-9664-4178-800c-80a982d7a68e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 15:00:17 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RecoveryPointTests/GetRecoveryPointTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RecoveryPointTests/GetRecoveryPointTest.json
new file mode 100644
index 000000000000..809e4bcaba76
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RecoveryPointTests/GetRecoveryPointTest.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/recoveryPoints/1803262380719?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3JlY292ZXJ5UG9pbnRzLzE4MDMyNjIzODA3MTk/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c0e4549e-58b9-413b-b77a-7fa9937fa75c"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"recoveryPointType\": \"FileSystemConsistent\",\r\n \"recoveryPointTime\": \"2015-08-13T16:52:26.4055809Z\",\r\n \"recoveryPointAdditionalInfo\": \"\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm/recoveryPoints/1803262380719\",\r\n \"name\": \"1803262380719\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems/recoveryPoints\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "539"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "8e7ccf27-4d42-4263-9d57-25a48e105b99"
+ ],
+ "x-ms-client-request-id": [
+ "c0e4549e-58b9-413b-b77a-7fa9937fa75c",
+ "c0e4549e-58b9-413b-b77a-7fa9937fa75c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-correlation-request-id": [
+ "8e7ccf27-4d42-4263-9d57-25a48e105b99"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T180959Z:8e7ccf27-4d42-4263-9d57-25a48e105b99"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 18:09:58 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RecoveryPointTests/ListRecoveryPointTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RecoveryPointTests/ListRecoveryPointTest.json
new file mode 100644
index 000000000000..013f5037c845
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RecoveryPointTests/ListRecoveryPointTest.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/recoveryPoints?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3JlY292ZXJ5UG9pbnRzP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "4dc12ffe-82e1-4079-83d3-265932647825"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"recoveryPointType\": \"FileSystemConsistent\",\r\n \"recoveryPointTime\": \"2015-08-13T16:52:26.4055809Z\",\r\n \"recoveryPointAdditionalInfo\": \"\"\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/iaasvmcontainer;hydrarecordvm;hydrarecordvm/recoveryPoints/1803262380719\",\r\n \"name\": \"1803262380719\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems/recoveryPoints\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "567"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a44341e4-bf39-492d-abdf-3d6ee13ecb46"
+ ],
+ "x-ms-client-request-id": [
+ "4dc12ffe-82e1-4079-83d3-265932647825",
+ "4dc12ffe-82e1-4079-83d3-265932647825"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "a44341e4-bf39-492d-abdf-3d6ee13ecb46"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T180749Z:a44341e4-bf39-492d-abdf-3d6ee13ecb46"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 18:07:49 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RestoreTests/TriggerRestoreTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RestoreTests/TriggerRestoreTest.json
new file mode 100644
index 000000000000..ecdfb745b0d9
--- /dev/null
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.RestoreTests/TriggerRestoreTest.json
@@ -0,0 +1,78 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/recoveryPoints/1803262380719/restore?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3JlY292ZXJ5UG9pbnRzLzE4MDMyNjIzODA3MTkvcmVzdG9yZT9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"typeOfRecovery\": \"RestoreDisks\",\r\n \"recoveryDSTypeSpecificInputs\": \"{\\\"AffinityGroup\\\":\\\"\\\",\\\"CloudServiceName\\\":\\\"\\\",\\\"ContinueProtection\\\":false,\\\"CreateNewCloudService\\\":false,\\\"InputStorageAccountName\\\":\\\"portalvhds7jzk3jty85qx5\\\",\\\"Region\\\":\\\"southeastasia\\\",\\\"SubNetName\\\":\\\"\\\",\\\"TargetVNet\\\":\\\"\\\",\\\"VmName\\\":\\\"\\\"}\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "359"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "da987b7a-870f-49bf-872b-85362a254e83"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"e9728523-3949-44fa-9930-caf28748727f\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1bd9ce2f-36d9-4596-987c-fd72cc1dca68"
+ ],
+ "x-ms-client-request-id": [
+ "da987b7a-870f-49bf-872b-85362a254e83",
+ "da987b7a-870f-49bf-872b-85362a254e83"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "1bd9ce2f-36d9-4596-987c-fd72cc1dca68"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150813T181127Z:1bd9ce2f-36d9-4596-987c-fd72cc1dca68"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 18:11:27 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.VaultTests/DeleteVaultRemovesVaultTest.json b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.VaultTests/DeleteVaultRemovesVaultTest.json
index 47d0aa7678e1..774ea0209215 100644
--- a/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.VaultTests/DeleteVaultRemovesVaultTest.json
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/SessionRecords/BackupServices.Tests.VaultTests/DeleteVaultRemovesVaultTest.json
@@ -4,28 +4,28 @@
"RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/delTestRes?api-version=2015-03-15",
"EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2RlbFRlc3RSZXM/YXBpLXZlcnNpb249MjAxNS0wMy0xNQ==",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n }\r\n },\r\n \"location\": \"West US\",\r\n \"tags\": {}\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n }\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {}\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
- "116"
+ "122"
],
"Accept-Language": [
"en-us"
],
"x-ms-client-request-id": [
- "f78a3493-e757-42fc-afec-bb9e88925096"
+ "4c504d34-ba37-4495-b28e-ec496d99d140"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"Location\": \"westus\",\r\n \"Name\": \"delTestRes\",\r\n \"ETag\": \"84171c0e-a086-446e-989f-5854243fa652\",\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/delTestRes\",\r\n \"Type\": \"Microsoft.Backup/BackupVault\"\r\n}",
+ "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"delTestRes\",\r\n \"etag\": \"5e40cc1c-2b56-498c-87ad-62b09b7770de\",\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/delTestRes\",\r\n \"type\": \"Microsoft.Backup/BackupVault\"\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "341"
+ "348"
],
"Content-Type": [
"application/json"
@@ -37,28 +37,28 @@
"no-cache"
],
"x-ms-request-id": [
- "43bf335a-2916-4877-9e46-9121e3673a8a"
+ "d683772d-ae4e-4aff-8064-dcf6b5ed6456"
],
"x-ms-client-request-id": [
- "f78a3493-e757-42fc-afec-bb9e88925096"
+ "4c504d34-ba37-4495-b28e-ec496d99d140"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
+ "999999"
],
"x-ms-correlation-request-id": [
- "43bf335a-2916-4877-9e46-9121e3673a8a"
+ "d683772d-ae4e-4aff-8064-dcf6b5ed6456"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150703T071434Z:43bf335a-2916-4877-9e46-9121e3673a8a"
+ "CENTRALUS:20150814T042444Z:d683772d-ae4e-4aff-8064-dcf6b5ed6456"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 03 Jul 2015 07:14:34 GMT"
+ "Fri, 14 Aug 2015 04:24:44 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -76,10 +76,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "37f9cc33-14c6-447d-813f-3bc691f93d85"
+ "c592557a-c774-437e-a0b9-7422bae5023d"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
"ResponseBody": "",
@@ -94,28 +94,28 @@
"no-cache"
],
"x-ms-request-id": [
- "5742ca84-9425-4df7-b48d-f2191c9b06ec"
+ "5524c9fe-eea4-4917-a153-daad15ef01fe"
],
"x-ms-client-request-id": [
- "37f9cc33-14c6-447d-813f-3bc691f93d85"
+ "c592557a-c774-437e-a0b9-7422bae5023d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
+ "999998"
],
"x-ms-correlation-request-id": [
- "5742ca84-9425-4df7-b48d-f2191c9b06ec"
+ "5524c9fe-eea4-4917-a153-daad15ef01fe"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150703T071436Z:5742ca84-9425-4df7-b48d-f2191c9b06ec"
+ "CENTRALUS:20150814T042446Z:5524c9fe-eea4-4917-a153-daad15ef01fe"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Fri, 03 Jul 2015 07:14:36 GMT"
+ "Fri, 14 Aug 2015 04:24:45 GMT"
]
},
"StatusCode": 200
@@ -130,16 +130,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "776d420d-a565-4f27-a448-1c1bc42a900e"
+ "b586d970-db36-48cf-b485-66d9f5af23b5"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Resource not found.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Backup/BackupVault/delTestRes' under resource group 'backuprg' was not found.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "69"
+ "151"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -154,13 +154,13 @@
"gateway"
],
"x-ms-request-id": [
- "9f4ec6ce-b211-4087-b54b-775af2e9e70f"
+ "dd297bb6-da31-44fd-8459-165c5f053806"
],
"x-ms-correlation-request-id": [
- "9f4ec6ce-b211-4087-b54b-775af2e9e70f"
+ "dd297bb6-da31-44fd-8459-165c5f053806"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150703T071437Z:9f4ec6ce-b211-4087-b54b-775af2e9e70f"
+ "CENTRALUS:20150814T042446Z:dd297bb6-da31-44fd-8459-165c5f053806"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -169,7 +169,7 @@
"no-cache"
],
"Date": [
- "Fri, 03 Jul 2015 07:14:36 GMT"
+ "Fri, 14 Aug 2015 04:24:45 GMT"
]
},
"StatusCode": 404
diff --git a/src/ResourceManagement/AzureBackup/BackupServices.Tests/app.config b/src/ResourceManagement/AzureBackup/BackupServices.Tests/app.config
index 119ea9a708eb..c9a1bc9addfc 100644
--- a/src/ResourceManagement/AzureBackup/BackupServices.Tests/app.config
+++ b/src/ResourceManagement/AzureBackup/BackupServices.Tests/app.config
@@ -3,41 +3,41 @@
-
-
+
+
-
-
-
+
+
+
-
+
-
+
-
-
+
+
-
-
-
+
+
+
-
+
-
+
-
-
-
+
+
+