diff --git a/AzurePowershell.Test.targets b/AzurePowershell.Test.targets
index 206246e5f6dd..44bf29123ff1 100644
--- a/AzurePowershell.Test.targets
+++ b/AzurePowershell.Test.targets
@@ -22,7 +22,7 @@
.\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll
.\src\ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.StreamAnalytics.Test.dll
.\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll
- .\src\ResourceManager\Batch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll
+ .\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll
.\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll
.\src\ServiceManagement\RemoteApp\Commands.RemoteApp.Test\bin\Debug\Microsoft.Azure.Commands.RemoteApp.Tests.dll
.\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll
@@ -56,7 +56,7 @@
-
+
diff --git a/ChangeLog.md b/ChangeLog.md
index db47c5a55de2..9e97c0149675 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,50 @@
+## 2015.08.17 version 0.9.7
+* Azure Profile cmdlets
+ * New-AzureProfile
+ * Added parameter set for empty profile
+ * Fixed issues with AAD aithentication when constructing profile
+ * Enabled passing results of Add-AzureEnvironment to New-AzureProfile -Environment parameter
+* Azure ResourceManager cmdlets
+ * New-AzureResourceGroupDeployment: Added Mode (deployment mode) and Force parameters
+ * Get-AzureProviderOperation: API changes to improve performance
+* Azure Compute (ARM) Cmdlets
+ * Fixes for Set-AzureDeployment with -ExtensionConfiguration
+ * Fixes for Set-AzureVMCustomExtension cmdlets
+ * Deprecated cmdlets Get-AzureVMImageDetail and Get-AzureVMExtentionImageDetail
+* Azure Compute (Service Management) cmdlets
+ * Publish-AzureVMDSCConfiguration: Added additional configuration parameters
+* Azure Network (ARM) cmdlets
+ * Added help for Route Table cmdlets
+* Azure Storage cmdlets
+ * Added support for downloading, uploading, and copying append blob
+ * Added support for asynchronous copying to and from cloud file
+ * Added azure service CORS management
+* Azure Sql (ARM) Cmdlets
+ * Fixed issues with ElascitPool cmdlets
+* AzureBatch cmdlets
+ * Added Batch autoscale cmdlets Enable-AzureBatchAutoScale, Disable-AzureBatchAutoScale
+* RemoteApp cmdlets
+ * Added Restart-AzureRemoteAppVm cmdlet
+* Azure HDInsight cmdlets
+ * Added cmdlet help
+* Azure Backup - added the following cmdlets
+ * Backup-AzureRMBackupItem
+ * Register-AzureRMBackupContainer
+ * Disable-AzureRMBackupProtection
+ * Enable-AzureRMBackupProtection
+ * Get-AzureRMBackupItem
+ * Get-AzureRMBackupJob
+ * Get-AzureRMBackupJobDetails
+ * Stop-AzureRMBackupJob
+ * Wait-AzureRMBackupJob
+ * Get-AzureRMBackupProtectionPolicy
+ * New-AzureRMBackupProtectionPolicy
+ * New-AzureRMBackupRetentionPolicyObject
+ * Remove-AzureRMBackupProtectionPolicy
+ * Set-AzureRMBackupProtectionPolicy
+ * Get-AzureRMBackupRecoveryPoint
+ * Restore-AzureRMBackupItem
+
## 2015.08.07 version 0.9.6
* Azure Batch cmdlets
* Cmdlets updated to use the general availability API. See http://blogs.technet.com/b/windowshpc/archive/2015/07/10/what-39-s-new-in-azure-batch-july-release-general-availability.aspx
@@ -15,7 +62,6 @@
* Fix Publish Extension cmdlets.
* Update CustomScript cmdlet for SAS Uri.
* Update help file.
- * Get, Set and Remove Azure Powershell commandlets for IaaS V2 VM.
* Azure Data Factory
* Rename Table to Dataset.
* Azure SQL
diff --git a/setup/azurecmd.wxs b/setup/azurecmd.wxs
index e04b69637b57..b8fb150f45b0 100644
--- a/setup/azurecmd.wxs
+++ b/setup/azurecmd.wxs
@@ -5,7 +5,7 @@
-
+
diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi
index ed142484e367..1343534e150d 100644
--- a/setup/azurecmdfiles.wxi
+++ b/setup/azurecmdfiles.wxi
@@ -204,6 +204,9 @@
+
+
+
@@ -544,93 +547,81 @@
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
@@ -688,6 +679,9 @@
+
+
+
@@ -1193,15 +1187,6 @@
-
-
-
-
-
-
-
-
-
@@ -1238,9 +1223,6 @@
-
-
-
@@ -1344,15 +1326,6 @@
-
-
-
-
-
-
-
-
-
@@ -1380,9 +1353,6 @@
-
-
-
@@ -1451,15 +1421,6 @@
-
-
-
-
-
-
-
-
-
@@ -1508,9 +1469,6 @@
-
-
-
@@ -1534,6 +1492,9 @@
+
+
+
@@ -2018,6 +1979,9 @@
+
+
+
@@ -2035,15 +1999,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2053,6 +2044,15 @@
+
+
+
+
+
+
+
+
+
@@ -2089,6 +2089,12 @@
+
+
+
+
+
+
@@ -2104,6 +2110,9 @@
+
+
+
@@ -3218,15 +3227,6 @@
-
-
-
-
-
-
-
-
-
@@ -3344,9 +3344,6 @@
-
-
-
@@ -4685,15 +4682,6 @@
-
-
-
-
-
-
-
-
-
@@ -4745,9 +4733,6 @@
-
-
-
@@ -4820,6 +4805,7 @@
+
@@ -4923,35 +4909,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4970,6 +4952,7 @@
+
@@ -5127,9 +5110,6 @@
-
-
-
@@ -5142,7 +5122,6 @@
-
@@ -5176,9 +5155,6 @@
-
-
-
@@ -5188,7 +5164,6 @@
-
@@ -5211,9 +5186,6 @@
-
-
-
@@ -5230,7 +5202,6 @@
-
@@ -5238,6 +5209,7 @@
+
@@ -5396,17 +5368,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -5419,11 +5404,14 @@
+
+
+
@@ -5786,9 +5774,6 @@
-
-
-
@@ -5828,7 +5813,6 @@
-
@@ -6249,9 +6233,6 @@
-
-
-
@@ -6269,7 +6250,6 @@
-
diff --git a/src/AzurePowershell.sln b/src/AzurePowershell.sln
index 78a3335959cb..afe5a4118fc3 100644
--- a/src/AzurePowershell.sln
+++ b/src/AzurePowershell.sln
@@ -134,9 +134,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RedisCache", "Reso
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RedisCache.Test", "ResourceManager\RedisCache\Commands.RedisCache.Test\Commands.RedisCache.Test.csproj", "{4AE5705F-62CF-461D-B72E-DD9DCD9B3609}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch", "ResourceManager\Batch\Commands.Batch\Commands.Batch.csproj", "{D470E50A-9607-48D6-A924-4F9F86502704}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch", "ResourceManager\AzureBatch\Commands.Batch\Commands.Batch.csproj", "{D470E50A-9607-48D6-A924-4F9F86502704}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch.Test", "ResourceManager\Batch\Commands.Batch.Test\Commands.Batch.Test.csproj", "{F4ABAD68-64A5-4B23-B09C-42559A7524DE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Batch.Test", "ResourceManager\AzureBatch\Commands.Batch.Test\Commands.Batch.Test.csproj", "{F4ABAD68-64A5-4B23-B09C-42559A7524DE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ServiceManagement.Network", "ServiceManagement\Network\Commands.Network\Commands.ServiceManagement.Network.csproj", "{40FEE0BB-FD45-4EFC-85BC-0D602A6892C4}"
EndProject
diff --git a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
index 4bffe1aba9a9..2cac1e4b0bbd 100644
--- a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
+++ b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj
@@ -66,7 +66,7 @@
False
- ..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
diff --git a/src/Common/Commands.Common.Storage/packages.config b/src/Common/Commands.Common.Storage/packages.config
index b56918c5a130..f2ebb79ce6b4 100644
--- a/src/Common/Commands.Common.Storage/packages.config
+++ b/src/Common/Commands.Common.Storage/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
index 3b7a1393492a..04be930b6358 100644
--- a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
+++ b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj
@@ -65,7 +65,7 @@
False
- ..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5687.28567-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/Common/Commands.Common.Test/packages.config b/src/Common/Commands.Common.Test/packages.config
index c7b1bd97af32..705bcc0a0611 100644
--- a/src/Common/Commands.Common.Test/packages.config
+++ b/src/Common/Commands.Common.Test/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/Common/Commands.Common/AzurePowerShell.cs b/src/Common/Commands.Common/AzurePowerShell.cs
index 4a733b169ca3..bedbdfe79baa 100644
--- a/src/Common/Commands.Common/AzurePowerShell.cs
+++ b/src/Common/Commands.Common/AzurePowerShell.cs
@@ -27,9 +27,9 @@ public class AzurePowerShell
public const string AssemblyCopyright = "Copyright © Microsoft";
- public const string AssemblyVersion = "0.9.6";
+ public const string AssemblyVersion = "0.9.7";
- public const string AssemblyFileVersion = "0.9.6";
+ public const string AssemblyFileVersion = "0.9.7";
public const string ProfileFile = "AzureProfile.json";
diff --git a/src/Common/Commands.Common/Commands.Common.csproj b/src/Common/Commands.Common/Commands.Common.csproj
index f593730325d3..2483d0c2e001 100644
--- a/src/Common/Commands.Common/Commands.Common.csproj
+++ b/src/Common/Commands.Common/Commands.Common.csproj
@@ -68,7 +68,7 @@
False
- ..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
diff --git a/src/Common/Commands.Common/packages.config b/src/Common/Commands.Common/packages.config
index 196cee0c4d8d..abdfbbed145e 100644
--- a/src/Common/Commands.Common/packages.config
+++ b/src/Common/Commands.Common/packages.config
@@ -5,7 +5,7 @@
-
+
diff --git a/src/Common/Commands.Profile/Commands.Profile.csproj b/src/Common/Commands.Profile/Commands.Profile.csproj
index cb69741e46cc..f40f5ff69182 100644
--- a/src/Common/Commands.Profile/Commands.Profile.csproj
+++ b/src/Common/Commands.Profile/Commands.Profile.csproj
@@ -62,7 +62,7 @@
False
- ..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
diff --git a/src/Common/Commands.Profile/packages.config b/src/Common/Commands.Profile/packages.config
index b4a710776ebc..653d89f6ed0b 100644
--- a/src/Common/Commands.Profile/packages.config
+++ b/src/Common/Commands.Profile/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
index b36d1111401a..4d6f265b39e5 100644
--- a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
+++ b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
@@ -55,7 +55,7 @@
False
- ..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
..\..\packages\Microsoft.Azure.Test.Framework.1.0.5687.28567-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
diff --git a/src/Common/Commands.ScenarioTest/packages.config b/src/Common/Commands.ScenarioTest/packages.config
index 53da7b2da613..2ff11273c825 100644
--- a/src/Common/Commands.ScenarioTest/packages.config
+++ b/src/Common/Commands.ScenarioTest/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
index ca0fe4d9c269..0a021c9182e4 100644
--- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
+++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
@@ -54,7 +54,7 @@
False
- ..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
..\..\packages\Microsoft.Azure.Test.Framework.1.0.5687.28567-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
diff --git a/src/Common/Commands.ScenarioTests.Common/packages.config b/src/Common/Commands.ScenarioTests.Common/packages.config
index 7d12141e37b7..c905cbbbdb5a 100644
--- a/src/Common/Commands.ScenarioTests.Common/packages.config
+++ b/src/Common/Commands.ScenarioTests.Common/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
index 4691f12d9df4..f0170c00d250 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands.ApiManagement.ServiceManagement.csproj
@@ -72,7 +72,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
index 982a18f9d94e..9a5e820371eb 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/packages.config
@@ -6,7 +6,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
index c65829bcde28..d2a09f55c46c 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
@@ -65,7 +65,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
index 41dc79623a6c..94b4bd587827 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
@@ -5,7 +5,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
index 26c834415061..b617d2252223 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.csproj
@@ -71,7 +71,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
index 982a18f9d94e..9a5e820371eb 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/packages.config
@@ -6,7 +6,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
index 605ebfb7a4b4..351bccf6e609 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
@@ -65,7 +65,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
index 5637fb1b72db..3012e66b5419 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
@@ -5,7 +5,7 @@
-
+
diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj b/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj
index 52849def3b4d..4f40978789d4 100644
--- a/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj
+++ b/src/ResourceManager/Automation/Commands.Automation.Test/Commands.ResourceManagement.Automation.Test.csproj
@@ -62,7 +62,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5687.28567-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
index 08124b8e090e..31f4e44d7722 100644
--- a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
+++ b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj b/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj
index 585441f1d221..c9ff00b63ad3 100644
--- a/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj
+++ b/src/ResourceManager/Automation/Commands.Automation/Commands.ResourceManagement.Automation.csproj
@@ -65,7 +65,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
diff --git a/src/ResourceManager/Automation/Commands.Automation/packages.config b/src/ResourceManager/Automation/Commands.Automation/packages.config
index bcfebd8b3501..0b329390e4e1 100644
--- a/src/ResourceManager/Automation/Commands.Automation/packages.config
+++ b/src/ResourceManager/Automation/Commands.Automation/packages.config
@@ -5,7 +5,7 @@
-
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/App.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/App.config
index 51736738e693..749e8d87fdbd 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/App.config
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/App.config
@@ -1,7 +1,7 @@
-
+
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 e6568a19e23b..3088c89b2dcd 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
@@ -39,13 +39,13 @@
False
..\..\..\packages\Microsoft.Azure.Common.Authentication.1.1.3-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
-
+
False
- ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.2-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll
+ ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.3-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
@@ -133,11 +133,18 @@
+
+
+
+
Code
+
+
+
@@ -166,15 +173,90 @@
Always
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
Always
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
Always
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
Always
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.cs
index 7c461caf5071..e5c2882d1564 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.cs
@@ -13,11 +13,6 @@
// ----------------------------------------------------------------------------------
using Microsoft.WindowsAzure.Commands.ScenarioTest;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
@@ -29,6 +24,27 @@ public class AzureBackupContainerTests : AzureBackupTestsBase
public void AzureBackupMarsContainerScenarioTests()
{
this.RunPowerShellTest("Test-AzureBackupMarsContainerScenario");
- }
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void AzureBackupRegisterContainerScenarioTests()
+ {
+ this.RunPowerShellTest("Test-RegisterAzureBackupContainer");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void AzureBackupUnregisterContainerScenarioTests()
+ {
+ this.RunPowerShellTest("Test-UnregisterAzureBackupContainer");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void AzureBackupContainerScenarioTests()
+ {
+ this.RunPowerShellTest("Test-AzureBackupContainerScenario");
+ }
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
index 2b500adf8f45..75e3b265546e 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1
@@ -13,39 +13,93 @@
# ----------------------------------------------------------------------------------
$ResourceGroupName = "backuprg"
-$ResourceName = "backuprn1"
+$ResourceName = "backuprn"
$ContainerName = "DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM"
$ContainerType = "Windows"
-$ContainerId = "10034"
+$ContainerId = "223719"
$ContainerStatus = "Registered"
function Test-AzureBackupMarsContainerScenario
{
- $vault = Get-AzureBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
-
- $containers = Get-AzureBackupContainer -vault $vault -type $ContainerType
- Assert-AreEqual $containers[0].ContainerType $ContainerType;
- Assert-AreEqual $containers[0].Id $ContainerId;
- Assert-AreEqual $containers[0].Location $vault.Region;
- Assert-AreEqual $containers[0].Name $ContainerName;
- Assert-AreEqual $containers[0].ResourceGroupName $vault.ResourceGroupName;
- Assert-AreEqual $containers[0].ResourceName $vault.Name;
- Assert-AreEqual $containers[0].Status $ContainerStatus;
-
- $namedContainers = Get-AzureBackupContainer -vault $vault -type $ContainerType -name $ContainerName
- $container = $namedContainers[0];
- Assert-AreEqual $container.ContainerType $ContainerType;
- Assert-AreEqual $container.Id $ContainerId;
- Assert-AreEqual $container.Location $vault.Region;
- Assert-AreEqual $container.Name $ContainerName;
- Assert-AreEqual $container.ResourceGroupName $vault.ResourceGroupName;
- Assert-AreEqual $container.ResourceName $vault.Name;
- Assert-AreEqual $container.Status $ContainerStatus;
-
- Enable-AzureBackupContainerReregistration -Container $container
-
- Unregister-AzureBackupContainer -Container $container -Force
-
- $unregContainers = Get-AzureBackupContainer -vault $vault -type $ContainerType -name $ContainerName
- Assert-AreEqual $unregContainers.Count 0;
+ $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
+
+ $containers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType
+ Assert-AreEqual $containers[0].ContainerType $ContainerType;
+ Assert-AreEqual $containers[0].Id $ContainerId;
+ Assert-AreEqual $containers[0].Location $vault.Region;
+ Assert-AreEqual $containers[0].Name $ContainerName;
+ Assert-AreEqual $containers[0].ResourceGroupName $vault.ResourceGroupName;
+ Assert-AreEqual $containers[0].ResourceName $vault.Name;
+ Assert-AreEqual $containers[0].Status $ContainerStatus;
+
+ $namedContainers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType -name $ContainerName
+ $container = $namedContainers[0];
+ Assert-AreEqual $container.ContainerType $ContainerType;
+ Assert-AreEqual $container.Id $ContainerId;
+ Assert-AreEqual $container.Location $vault.Region;
+ Assert-AreEqual $container.Name $ContainerName;
+ Assert-AreEqual $container.ResourceGroupName $vault.ResourceGroupName;
+ Assert-AreEqual $container.ResourceName $vault.Name;
+ Assert-AreEqual $container.Status $ContainerStatus;
+
+ Enable-AzureRMBackupContainerReregistration -Container $container
+
+ Unregister-AzureRMBackupContainer -Container $container -Force
+
+ $unregContainers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType -name $ContainerName
+ Assert-AreEqual $unregContainers.Count 0;
+}
+
+$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
+
+ Assert-NotNull $jobId 'Job should not be null';
+}
+
+
+function Test-UnregisterAzureBackupContainer
+{
+ $vault = Get-AzureRMBackupVault -Name $VaultResourceName
+ $container = Get-AzureRMBackupContainer -Name $IaasVMManagedResourceName -Type AzureVM -ManagedResourceGroupName $IaasVMManagedResourceGroupName -Vault $vault
+ $jobId = Unregister-AzureRMBackupContainer -Container $container
+
+ Assert-NotNull $jobId 'Job should not be null';
}
+
+$BMSContainerType = "AzureVM"
+$BMSContainerUniqueName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$BMSContainerName = "hydrarecordvm"
+$BMSContainerStatus = "Registered"
+
+function Test-AzureBackupContainerScenario
+{
+ $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
+
+ $containers = Get-AzureRMBackupContainer -vault $vault -type $BMSContainerType
+ Assert-AreEqual $containers[0].ContainerType $BMSContainerType;
+ Assert-AreEqual $containers[0].ContainerUniqueName $BMSContainerUniqueName;
+ Assert-AreEqual $containers[0].Location $vault.Region;
+ Assert-AreEqual $containers[0].Name $BMSContainerName;
+ Assert-AreEqual $containers[0].ResourceGroupName $vault.ResourceGroupName;
+ Assert-AreEqual $containers[0].ResourceName $vault.Name;
+ Assert-AreEqual $containers[0].Status $BMSContainerStatus;
+
+ $namedContainers = Get-AzureRMBackupContainer -vault $vault -type $BMSContainerType -name $BMSContainerName
+ $container = $namedContainers[0];
+ Assert-AreEqual $container.ContainerType $BMSContainerType;
+ Assert-AreEqual $container.ContainerUniqueName $BMSContainerUniqueName;
+ Assert-AreEqual $container.Location $vault.Region;
+ Assert-AreEqual $container.Name $BMSContainerName;
+ Assert-AreEqual $container.ResourceGroupName $vault.ResourceGroupName;
+ Assert-AreEqual $container.ResourceName $vault.Name;
+ Assert-AreEqual $container.Status $BMSContainerStatus;
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.cs
new file mode 100644
index 000000000000..3db93a6ad11b
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.cs
@@ -0,0 +1,43 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
+{
+ public class AzureBackupItemTestCases : AzureBackupTestsBase
+ {
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void ListAzureBackupItemTests()
+ {
+ this.RunPowerShellTest("Test-GetAzureBackupItemTests");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void EnableAzureBackupProtectionTest()
+ {
+ this.RunPowerShellTest("Test-EnableAzureBackupProtection");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void DisableAzureBackupProtectionTest()
+ {
+ this.RunPowerShellTest("Test-DisableAzureBackupProtection");
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1
new file mode 100644
index 000000000000..b2c9869ebc92
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1
@@ -0,0 +1,84 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+$ResourceGroupName = "backuprg"
+$ResourceName = "backuprn"
+$ContainerName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ContainerType = "IaasVMContainer"
+$DataSourceType = "IaasVM"
+$DataSourceId = "17593283453810"
+$Location = "SouthEast Asia"
+$PolicyName = "ProtPolicy01";
+$PolicyId = "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/protectionPolicies/DefaultPolicy";
+$POName = "hydrarecordvm"
+$itemName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+
+
+function Test-GetAzureBackupItemTests
+{
+ $azureBackUpContainer = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupContainer
+ $azureBackUpContainer.ResourceGroupName = $ResourceGroupName
+ $azureBackUpContainer.ResourceName = $ResourceName
+ $azureBackUpContainer.Location = $Location
+ $azureBackUpContainer.ContainerUniqueName = $ContainerName
+ $azureBackUpContainer.ContainerType = $ContainerType
+ $item = Get-AzureRMBackupItem -Container $azureBackUpContainer
+ if (!($item -eq $null))
+ {
+ foreach($backupitem in $item)
+ {
+ Assert-NotNull $backupitem.ProtectionStatus 'ProtectionStatus should not be null'
+ Assert-NotNull $backupitem.Name 'Name should not be null'
+ Assert-NotNull $backupitem.Type 'Type should not be null'
+ Assert-NotNull $backupitem.ContainerType 'ContainerType should not be null'
+ Assert-NotNull $backupitem.ContainerUniqueName 'ContainerUniqueName should not be null'
+ Assert-NotNull $backupitem.ResourceGroupName 'ResourceGroupName should not be null'
+ Assert-NotNull $backupitem.ResourceName 'ResourceName should not be null'
+ Assert-NotNull $backupitem.Location 'Location should not be null'
+ }
+ }
+}
+
+function Test-EnableAzureBackupProtection
+{
+ $vault = Get-AzureRMBackupVault -Name $ResourceName
+ $policyList = Get-AzureRMBackupProtectionPolicy -Vault $vault
+ $policy = $policyList[0]
+
+ $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
+ $azureBackUpItem.ResourceGroupName = $ResourceGroupName
+ $azureBackUpItem.ResourceName = $ResourceName
+ $azureBackUpItem.Location = $Location
+ $azureBackUpItem.ContainerUniqueName = $ContainerName
+ $azureBackUpItem.ContainerType = $ContainerType
+ $azureBackUpItem.Type = $DataSourceType
+ $azureBackUpItem.Name = $POName
+ $azureBackUpItem.ItemName = $itemName
+ $jobId = Enable-AzureRMBackupProtection -Item $azureBackUpItem -Policy $policy
+
+}
+
+function Test-DisableAzureBackupProtection
+{
+ $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
+ $azureBackUpItem.ResourceGroupName = $ResourceGroupName
+ $azureBackUpItem.ResourceName = $ResourceName
+ $azureBackUpItem.Location = $Location
+ $azureBackUpItem.ContainerUniqueName = $ContainerName
+ $azureBackUpItem.ContainerType = $ContainerType
+ $azureBackUpItem.Type = $DataSourceType
+ $azureBackUpItem.ItemName = $itemName
+ $azureBackUpItem.Name = $POName
+ $jobId1 = Disable-AzureRMBackupProtection -Item $azureBackUpItem
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.cs
new file mode 100644
index 000000000000..0c8db5a8f719
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.cs
@@ -0,0 +1,37 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
+{
+ public class AzureBackupJobTests : AzureBackupTestsBase
+ {
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void GetAzureRMBackupJobTests()
+ {
+ this.RunPowerShellTest("Test-GetAzureRMBackupJob");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void StopAzureRMBackupJobTests()
+ {
+ this.RunPowerShellTest("Test-StopAzureRMBackupJob");
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1
new file mode 100644
index 000000000000..7feb00a08496
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1
@@ -0,0 +1,72 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+$ResourceGroupName = "backuprg"
+$ResourceName = "backuprn"
+$ContainerName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ContainerType = "IaasVMContainer"
+$DataSourceType = "VM"
+$DataSourceId = "17593283453810"
+$Location = "SouthEast Asia"
+$PolicyName = "Policy9";
+$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4";
+$POName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ItemName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+
+# startTime%20eq%20'2015-07-15%2009:39:29%20AM'%20and%20endTime%20eq%20'2015-08-14%2009:39:29%20AM'",
+
+function Test-GetAzureRMBackupJob
+{
+ $vault = Get-AzureRMBackupVault -Name $ResourceName;
+ $OneMonthBack = Get-Date -Date "2015-07-15 09:39:29Z";
+ $now = Get-Date -Date "2015-08-14 09:39:29Z";
+ $jobs = Get-AzureRMBackupJob -Vault $vault -From $OneMonthBack -To $now
+ Assert-NotNull $jobs 'Jobs list should not be null'
+ foreach($job in $jobs)
+ {
+ Assert-NotNull $jobs.InstanceId 'JobID should not be null';
+ Assert-NotNull $jobs.StartTime 'StartTime should not be null';
+ Assert-NotNull $jobs.WorkloadType 'WorkloadType should not be null';
+ Assert-NotNull $jobs.WorkloadName 'WorkloadName should not be null';
+ Assert-NotNull $jobs.Status 'Status should not be null';
+ Assert-NotNull $jobs.Operation 'Operation should not be null';
+
+ $jobDetails = Get-AzureRMBackupJobDetails -Job $job
+ Assert-NotNull $jobDetails.InstanceId 'JobID should not be null';
+ Assert-NotNull $jobDetails.StartTime 'StartTime should not be null';
+ Assert-NotNull $jobDetails.WorkloadType 'WorkloadType should not be null';
+ Assert-NotNull $jobDetails.WorkloadName 'WorkloadName should not be null';
+ Assert-NotNull $jobDetails.Status 'Status should not be null';
+ Assert-NotNull $jobDetails.Operation 'Operation should not be null';
+ Assert-NotNull $jobDetails.Properties 'Properties in job details cannot be null';
+ Assert-NotNull $jobDetails.SubTasks 'SubTasks in job details cannot be null';
+ }
+}
+
+
+function Test-StopAzureRMBackupJob
+{
+ $AzureRMBackupItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
+ $AzureRMBackupItem.ResourceGroupName = $ResourceGroupName
+ $AzureRMBackupItem.ResourceName = $ResourceName
+ $AzureRMBackupItem.Location = $Location
+ $AzureRMBackupItem.ContainerUniqueName = $ContainerName
+ $AzureRMBackupItem.ItemName = $ItemName
+ $job = Backup-AzureRMBackupItem -Item $AzureRMBackupItem
+
+ Stop-AzureRMBackupJob -Job $job;
+ Wait-AzureRMBackupJob -Job $job;
+ $jobDetails = Get-AzureRMBackupJobDetails -Job $job;
+ Assert-AreEqual 'Cancelled' $jobDetails.Status
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.cs
new file mode 100644
index 000000000000..86f25c18c52d
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.cs
@@ -0,0 +1,59 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
+{
+ public class AzureBackupPolicyTests : AzureBackupTestsBase
+ {
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void ListProtectionPolicyTests()
+ {
+ this.RunPowerShellTest("Test-GetAzureBackupProtectionPolicyTests");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void NewProtectionPolicyTests()
+ {
+ this.RunPowerShellTest("Test-NewAzureBackupProtectionPolicyTests");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void ListProtectionPolicyByNameTests()
+ {
+ this.RunPowerShellTest("Test-GetAzureBackupProtectionPolicyByNameTests");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void SetProtectionPolicyTests()
+ {
+ this.RunPowerShellTest("Test-SetAzureBackupProtectionPolicyTests");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void RemoveProtectionPolicyTests()
+ {
+ this.RunPowerShellTest("Test-RemoveAzureBackupProtectionPolicyTests");
+ }
+
+
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1
new file mode 100644
index 000000000000..824ae6637d0f
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1
@@ -0,0 +1,99 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+$ResourceGroupName = "backuprg"
+$ResourceName = "backuprn"
+$DataSourceType = "VM"
+$Location = "SouthEast Asia"
+$PolicyName = "Policy10";
+$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4";
+$POName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$Type = "AzureVM"
+$RetentionType = "Days"
+$BackupTime = "2015-06-13T20:30:00"
+$DaysOfWeek = "Monday"
+$RetentionDuration = 30
+$BackupType = "Full"
+$ScheduleType = "Daily"
+
+<#
+.SYNOPSIS
+Tests creating new resource group and a simple resource.
+#>
+function Test-GetAzureBackupProtectionPolicyTests
+{
+ $vault = Get-AzureRMBackupVault -Name $ResourceName;
+ $protectionPolicies = Get-AzureRMBackupProtectionPolicy -vault $vault
+ Assert-NotNull $protectionPolicies 'Protection Policies should not be null'
+ foreach($protectionPolicy in $protectionPolicies)
+ {
+ Assert-NotNull $protectionPolicy.Name 'Name should not be null'
+ Assert-NotNull $protectionPolicy.Type 'Type should not be null'
+ Assert-NotNull $protectionPolicy.BackupTime 'BackupTime should not be null'
+ Assert-NotNull $protectionPolicy.RetentionPolicy 'RetentionPolicy should not be null'
+ Assert-NotNull $protectionPolicy.ResourceGroupName 'ResourceGroupName should not be null'
+ Assert-NotNull $protectionPolicy.ResourceName 'ResourceName should not be null'
+ Assert-NotNull $protectionPolicy.Location 'Location should not be null'
+ }
+}
+
+function Test-GetAzureBackupProtectionPolicyByNameTests
+{
+ $vault = Get-AzureRMBackupVault -Name $ResourceName;
+ $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName
+
+ Assert-NotNull $protectionPolicy.Name 'Name should not be null'
+ Assert-NotNull $protectionPolicy.Type 'Type should not be null'
+ Assert-NotNull $protectionPolicy.BackupTime 'BackupTime should not be null'
+ Assert-NotNull $protectionPolicy.RetentionPolicy 'RetentionPolicy should not be null'
+ Assert-NotNull $protectionPolicy.ResourceGroupName 'ResourceGroupName should not be null'
+ Assert-NotNull $protectionPolicy.ResourceName 'ResourceName should not be null'
+ Assert-NotNull $protectionPolicy.Location 'Location should not be null'
+
+}
+
+function Test-NewAzureBackupProtectionPolicyTests
+{
+ $vault = Get-AzureRMBackupVault -Name $ResourceName;
+ $r1 = New-AzureRMBackupRetentionPolicyObject -DailyRetention -Retention 20
+ $r2 = New-AzureRMBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10
+ $r = ($r1, $r2)
+
+ $protectionPolicy = New-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName -Type $Type -Daily -RetentionPolicy $r -BackupTime $BackupTime
+
+ Assert-NotNull $protectionPolicy.Name 'Name should not be null'
+ Assert-NotNull $protectionPolicy.Type 'Type should not be null'
+ Assert-NotNull $protectionPolicy.BackupTime 'BackupTime should not be null'
+ Assert-NotNull $protectionPolicy.RetentionPolicy 'RetentionPolicy should not be null'
+ Assert-NotNull $protectionPolicy.ResourceGroupName 'ResourceGroupName should not be null'
+ Assert-NotNull $protectionPolicy.ResourceName 'ResourceName should not be null'
+ Assert-NotNull $protectionPolicy.Location 'Location should not be null'
+}
+
+function Test-SetAzureBackupProtectionPolicyTests
+{
+ $vault = Get-AzureRMBackupVault -Name $ResourceName;
+ $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName
+ $policyNewName = "policy09-new"
+
+ Set-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionPolicy -NewName $policyNewName
+}
+
+function Test-RemoveAzureBackupProtectionPolicyTests
+{
+ $vault = Get-AzureRMBackupVault -Name $ResourceName;
+ $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName
+
+ Remove-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionPolicy
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.cs
new file mode 100644
index 000000000000..b5578d5037d8
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
+{
+ public class AzureBackupScenarioTests : AzureBackupTestsBase
+ {
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void AzureBackupEndToEndTests()
+ {
+ //this.RunPowerShellTest("Test-AzureBackupEndToEnd");
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1
new file mode 100644
index 000000000000..a807675645ce
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1
@@ -0,0 +1,146 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+$ResourceGroupName = "backuprg"
+$ResourceName = "backuprn"
+$Location = "southeastasia"
+$VirtualMachineName = "hydrarecordvm"
+$ProtectionPolicyName = "e2epolicy1"
+$RestoreStorageAccount = "e2estore"
+
+function Test-AzureBackupEndToEnd
+{
+ New-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location;
+ $vault = Get-AzureRMBackupVault -Name $ResourceName;
+ $Job = Register-AzureRMBackupContainer -Vault $vault -Name $VirtualMachineName -ServiceName $VirtualMachineName;
+ Wait-AzureRMBackupJob -Job $Job;
+ $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobId $Job.InstanceId;
+ Assert-AreEqual $JobDetails.Status "Completed";
+
+ $r1 = New-AzureRMBackupRetentionPolicyObject -DailyRetention -Retention 20;
+ $r2 = New-AzureRMBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10;
+ $r3 = New-AzureRMBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth "10" -Retention 10;
+ $r = ($r1, $r2, $r3);
+ $backupTime = (Get-Date("17 August 2015 15:30:00")).ToUniversalTime();
+ $protectionpolicy = New-AzureRMBackupProtectionPolicy -Vault $vault -Name $ProtectionPolicyName -Type "AzureVM" -Daily -BackupTime $backupTime -RetentionPolicy $r;
+
+ Assert-AreEqual $protectionpolicy.Name $ProtectionPolicyName;
+ Assert-AreEqual $protectionpolicy.Type "AzureVM";
+ Assert-AreEqual $protectionpolicy.ScheduleType "Daily";
+ Assert-AreEqual $protectionpolicy.RetentionPolicy.Count 3;
+ Assert-AreEqual $protectionpolicy.ResourceGroupName $ResourceGroupName;
+ Assert-AreEqual $protectionpolicy.ResourceName $ResourceName;
+ Assert-AreEqual $protectionpolicy.Location $Location;
+
+ $container = Get-AzureRMBackupContainer -Vault $vault -Name $VirtualMachineName -Type "AzureVM";
+ Assert-AreEqual $container.ContainerType "AzureVM";
+ Assert-AreEqual $container.ContainerUniqueName.Contains("iaasvmcontainer") "True";
+ Assert-AreEqual $container.ContainerUniqueName.Contains($VirtualMachineName) "True";
+ Assert-AreEqual $container.Status "Registered";
+ Assert-AreEqual $container.ResourceGroupName $ResourceGroupName;
+ Assert-AreEqual $container.ResourceName $ResourceName;
+ Assert-AreEqual $container.Location $Location;
+
+ $Job = Enable-AzureRMBackupProtection -Item $container[0] -Policy $protectionpolicy[0];
+ Wait-AzureRMBackupJob -Job $Job;
+ $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId;
+ Assert-AreEqual $JobDetails.Operation "ConfigureBackup";
+ Assert-AreEqual $JobDetails.Status "Completed";
+ Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
+ Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True";
+ Assert-AreEqual $JobDetails.Properties.Values.Contains($ProtectionPolicyName) "True";
+ Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName;
+ Assert-AreEqual $JobDetails.ResourceName $ResourceName;
+ Assert-AreEqual $JobDetails.Location $Location;
+
+ $item = Get-AzureRMBackupItem -Container $container[0];
+ Assert-AreEqual $item.ProtectionStatus "Protected";
+ Assert-AreEqual $item.DataSourceStatus "IRPending";
+ Assert-AreEqual $item.ProtectionPolicyName $ProtectionPolicyName;
+ Assert-AreEqual $item.ContainerType "AzureVM";
+ Assert-NotNull $item.Type;
+ Assert-AreEqual $item.ItemName.Contains("iaasvmcontainer") "True";
+ Assert-AreEqual $item.ItemName.Contains($VirtualMachineName) "True";
+ Assert-AreEqual $item.ResourceGroupName $ResourceGroupName;
+ Assert-AreEqual $item.ResourceName $ResourceName;
+ Assert-AreEqual $item.Location $Location;
+
+ $Job = Backup-AzureRMBackupItem -Item $item[0];
+ Wait-AzureRMBackupJob -Job $Job;
+ $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId;
+ Assert-AreEqual $JobDetails.Operation "Backup";
+ Assert-AreEqual $JobDetails.Status "Completed";
+ Assert-NotNull $JobDetails.WorkloadType;
+ Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
+ Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True";
+ Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName;
+ Assert-AreEqual $JobDetails.ResourceName $ResourceName;
+ Assert-AreEqual $JobDetails.Location $Location;
+
+ $item = Get-AzureRMBackupItem -Container $container[0];
+ Assert-AreEqual $item.ProtectionStatus "Protected";
+ Assert-AreEqual $item.DataSourceStatus "Protected";
+ Assert-AreEqual $item.ProtectionPolicyName $ProtectionPolicyName;
+ Assert-AreEqual $item.RecoveryPointsCount "1";
+ Assert-AreEqual $item.ResourceGroupName $ResourceGroupName;
+ Assert-AreEqual $item.ResourceName $ResourceName;
+ Assert-AreEqual $item.Location $Location;
+
+ $recoveryPoints = Get-AzureRMBackupRecoveryPoint -Item $item[0];
+ Assert-NotNull $recoveryPoints.RecoveryPointTime;
+ Assert-NotNull $recoveryPoints.RecoveryPointName;
+ # Assert-AreEqual $recoveryPoints.RecoveryPointType "FileSystemConsistent";
+ Assert-AreEqual $recoveryPoints.ContainerType "AzureVM";
+ Assert-AreEqual $recoveryPoints.ItemName.Contains($VirtualMachineName) "True";
+ Assert-AreEqual $recoveryPoints.ItemName.Contains("iaasvmcontainer") "True";
+
+ $Job = Restore-AzureRMBackupItem -RecoveryPoint $recoveryPoints -StorageAccountName $RestoreStorageAccount;
+ Wait-AzureRMBackupJob -Job $Job;
+ $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId;
+ Assert-AreEqual $JobDetails.Operation "Restore";
+ Assert-AreEqual $JobDetails.Status "Completed";
+ Assert-NotNull $JobDetails.WorkloadType;
+ Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
+ Assert-AreEqual $JobDetails.Properties.Values.Contains($RestoreStorageAccount) "True";
+ Assert-AreEqual $JobDetails.Properties.Values.Contains("Recover disks") "True";
+ Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName;
+ Assert-AreEqual $JobDetails.ResourceName $ResourceName;
+ Assert-AreEqual $JobDetails.Location $Location;
+
+ $Job = Disable-AzureRMBackupProtection -RemoveRecoveryPoints -Item $item[0];
+ Wait-AzureRMBackupJob -Job $Job;
+ $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId;
+ Assert-AreEqual $JobDetails.Operation "Unprotect";
+ Assert-AreEqual $JobDetails.Status "Completed";
+ Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
+ Assert-AreEqual $JobDetails.Properties.Values.Contains($VirtualMachineName) "True";
+ Assert-AreEqual $JobDetails.Properties.Keys.Contains("Delete Backup Data") "True";
+ Assert-AreEqual $JobDetails.ResourceGroupName $ResourceGroupName;
+ Assert-AreEqual $JobDetails.ResourceName $ResourceName;
+ Assert-AreEqual $JobDetails.Location $Location;
+
+ $Job = Unregister-AzureRMBackupContainer -Container $container[0];
+ Wait-AzureRMBackupJob -Job $Job;
+ $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobId $Job.InstanceId;
+ Assert-AreEqual $JobDetails.Operation "UnRegister";
+ Assert-AreEqual $JobDetails.Status "Completed";
+ Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName;
+
+ Remove-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionpolicy;
+
+ Remove-AzureRMBackupVault -Vault $vault;
+
+ $deletedVault = Get-AzureRMBackupVault -Name $ResourceName;
+ Assert-Null $deletedVault;
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs
index 19bfd08fbe0c..b14797ff22e4 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupTestBase.cs
@@ -31,10 +31,18 @@ public abstract class AzureBackupTestsBase
private CSMTestEnvironmentFactory csmTestFactory;
private EnvironmentSetupHelper helper;
+ public static string ResourceGroupName;
+ public static string ResourceName;
+
public BackupVaultServicesManagementClient BackupVaultServicesMgmtClient { get; private set; }
+ public BackupServicesManagementClient BackupServicesMgmtClient { get; private set; }
+
protected AzureBackupTestsBase()
{
+ AzureBackupTestsBase.ResourceName = ConfigurationManager.AppSettings["ResourceName"];
+ AzureBackupTestsBase.ResourceGroupName = ConfigurationManager.AppSettings["ResourceGroupName"];
+
this.helper = new EnvironmentSetupHelper();
this.csmTestFactory = new CSMTestEnvironmentFactory();
}
@@ -42,8 +50,10 @@ protected AzureBackupTestsBase()
protected void SetupManagementClients()
{
BackupVaultServicesMgmtClient = GetBackupVaultServicesManagementClient();
+ BackupServicesMgmtClient = GetBackupServicesManagementClient();
+
//helper.SetupManagementClients(BackupServicesMgmtClient);
- helper.SetupSomeOfManagementClients(BackupVaultServicesMgmtClient);
+ helper.SetupSomeOfManagementClients(BackupVaultServicesMgmtClient, BackupServicesMgmtClient);
}
protected void RunPowerShellTest(params string[] scripts)
@@ -66,6 +76,11 @@ private BackupVaultServicesManagementClient GetBackupVaultServicesManagementClie
return GetServiceClient();
}
+ private BackupServicesManagementClient GetBackupServicesManagementClient()
+ {
+ return GetServiceClient();
+ }
+
public static T GetServiceClient() where T : class
{
var factory = (TestEnvironmentFactory)new CSMTestEnvironmentFactory();
@@ -74,32 +89,87 @@ public static T GetServiceClient() where T : class
ServicePointManager.ServerCertificateValidationCallback = IgnoreCertificateErrorHandler;
- BackupVaultServicesManagementClient client;
- string resourceName = ConfigurationManager.AppSettings["ResourceName"];
- string resourceGroupName = ConfigurationManager.AppSettings["ResourceGroupName"];
+ if (typeof(T) == typeof(BackupVaultServicesManagementClient))
+ {
+ BackupVaultServicesManagementClient client;
+ if (testEnvironment.UsesCustomUri())
+ {
+ client = new BackupVaultServicesManagementClient(
+ testEnvironment.Credentials as SubscriptionCloudCredentials,
+ testEnvironment.BaseUri);
+ }
- if (testEnvironment.UsesCustomUri())
+ else
+ {
+ client = new BackupVaultServicesManagementClient(
+ testEnvironment.Credentials as SubscriptionCloudCredentials);
+ }
+
+ return GetServiceClient(factory, client);
+ }
+ else
{
- client = new BackupVaultServicesManagementClient(
- resourceName,
- resourceGroupName,
- testEnvironment.Credentials as SubscriptionCloudCredentials,
- testEnvironment.BaseUri);
+ BackupServicesManagementClient client;
+
+ if (testEnvironment.UsesCustomUri())
+ {
+ client = new BackupServicesManagementClient(
+ testEnvironment.Credentials as SubscriptionCloudCredentials,
+ testEnvironment.BaseUri);
+ }
+
+ else
+ {
+ client = new BackupServicesManagementClient(
+ testEnvironment.Credentials as SubscriptionCloudCredentials);
+ }
+
+ return GetVaultServiceClient(factory, client);
}
+ }
- else
+ public static T GetServiceClient(TestEnvironmentFactory factory, BackupVaultServicesManagementClient client) where T : class
+ {
+ TestEnvironment testEnvironment = factory.GetTestEnvironment();
+
+ HttpMockServer instance;
+ try
{
- client = new BackupVaultServicesManagementClient(
- resourceName,
- resourceGroupName,
- testEnvironment.Credentials as SubscriptionCloudCredentials);
+ instance = HttpMockServer.CreateInstance();
+ }
+ catch (ApplicationException)
+ {
+ HttpMockServer.Initialize("TestEnvironment", "InitialCreation");
+ instance = HttpMockServer.CreateInstance();
+ }
+ T obj2 = typeof(T).GetMethod("WithHandler", new Type[1]
+ {
+ typeof (DelegatingHandler)
+ }).Invoke((object)client, new object[1]
+ {
+ (object) instance
+ }) as T;
+
+ if (HttpMockServer.Mode == HttpRecorderMode.Record)
+ {
+ HttpMockServer.Variables[TestEnvironment.SubscriptionIdKey] = testEnvironment.SubscriptionId;
}
- return GetServiceClient(factory, client);
+ if (HttpMockServer.Mode == HttpRecorderMode.Playback)
+ {
+ PropertyInfo property1 = typeof(T).GetProperty("LongRunningOperationInitialTimeout", typeof(int));
+ PropertyInfo property2 = typeof(T).GetProperty("LongRunningOperationRetryTimeout", typeof(int));
+ if (property1 != (PropertyInfo)null && property2 != (PropertyInfo)null)
+ {
+ property1.SetValue((object)obj2, (object)0);
+ property2.SetValue((object)obj2, (object)0);
+ }
+ }
+ return obj2;
}
- public static T GetServiceClient(TestEnvironmentFactory factory, BackupVaultServicesManagementClient client) where T : class
+ public static T GetVaultServiceClient(TestEnvironmentFactory factory, BackupServicesManagementClient client) where T : class
{
TestEnvironment testEnvironment = factory.GetTestEnvironment();
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1
index 1edbe269e585..1b9452cf1767 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1
@@ -13,34 +13,34 @@
# ----------------------------------------------------------------------------------
$ResourceGroupName = "backuprg"
-$ResourceName = "backuprn1"
-$Location = "westus"
+$ResourceName = "backuprn"
+$Location = "southeastasia"
$CertTargetLocation = (Get-Item -Path ".\" -Verbose).FullName;
function Test-AzureBackupVaultScenario
{
- $vault = New-AzureBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location -Storage "LocallyRedundant";
+ $vault = New-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location -Storage "LocallyRedundant";
Assert-AreEqual $vault.Name $ResourceName;
Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName;
Assert-AreEqual $vault.Region $Location;
Assert-AreEqual $vault.Storage "LocallyRedundant";
- $vault = Get-AzureBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
+ $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName
Assert-AreEqual $vault.Name $ResourceName;
Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName;
Assert-AreEqual $vault.Region $Location;
Assert-AreEqual $vault.Storage "LocallyRedundant";
- $fileName = Get-AzureBackupVaultCredentials -vault $vault -TargetLocation $CertTargetLocation
+ $fileName = Get-AzureRMBackupVaultCredentials -vault $vault -TargetLocation $CertTargetLocation
Assert-NotNull $fileName 'File name should not be null';
$certFileFullPath = [io.path]::combine($CertTargetLocation, $fileName);
Assert-True {{ Test-Path $certFileFullPath }}
- $vault = Set-AzureBackupVault -vault $vault -Storage "GeoRedundant";
+ $vault = Set-AzureRMBackupVault -vault $vault -Storage "GeoRedundant";
Assert-AreEqual $vault.Name $ResourceName;
Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName;
Assert-AreEqual $vault.Region $Location;
Assert-AreEqual $vault.Storage "GeoRedundant";
- Remove-AzureBackupVault -Vault $vault;
+ Remove-AzureRMBackupVault -Vault $vault;
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.cs
new file mode 100644
index 000000000000..048e72bb4455
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
+{
+ public class BackupItemTests : AzureBackupTestsBase
+ {
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void BackUpAzureBackUpItem()
+ {
+ this.RunPowerShellTest("Test-BackUpAzureBackUpItem");
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1
new file mode 100644
index 000000000000..99f45273876e
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1
@@ -0,0 +1,37 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+$ResourceGroupName = "backuprg"
+$ResourceName = "backuprn"
+$ContainerName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ContainerType = "IaasVMContainer"
+$DataSourceType = "VM"
+$DataSourceId = "17593283453810"
+$Location = "SouthEast Asia"
+$PolicyName = "Policy9";
+$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4";
+$POName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ItemName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+
+
+function Test-BackUpAzureBackUpItem
+{
+ $AzureRMBackupItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
+ $AzureRMBackupItem.ResourceGroupName = $ResourceGroupName
+ $AzureRMBackupItem.ResourceName = $ResourceName
+ $AzureRMBackupItem.Location = $Location
+ $AzureRMBackupItem.ContainerUniqueName = $ContainerName
+ $AzureRMBackupItem.ItemName = $ItemName
+ $jobId = Backup-AzureRMBackupItem -Item $AzureRMBackupItem
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.cs
new file mode 100644
index 000000000000..2dd50f0aeefd
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.cs
@@ -0,0 +1,36 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
+{
+ public class RecoveryPointTests : AzureBackupTestsBase
+ {
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void GetRecoveryPointsTests()
+ {
+ this.RunPowerShellTest("Test-GetAzureRecoveryPoints");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void GetRecoveryPointTests()
+ {
+ this.RunPowerShellTest("Test-GetAzureRecoveryPoint");
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1
new file mode 100644
index 000000000000..2ab904cebc40
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1
@@ -0,0 +1,64 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+$ResourceGroupName = "backuprg"
+$ResourceName = "backuprn"
+$ContainerName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ContainerType = "IaasVMContainer"
+$DataSourceType = "VM"
+$DataSourceId = "17593283453810"
+$Location = "SouthEast Asia"
+$PolicyName = "Policy9";
+$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4";
+$POName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ItemName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$RecoveryPointName = "587454680194"
+
+
+function Test-GetAzureRecoveryPoints
+{
+ $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
+ $azureBackUpItem.ResourceGroupName = $ResourceGroupName
+ $azureBackUpItem.ResourceName = $ResourceName
+ $azureBackUpItem.Location = $Location
+ $azureBackUpItem.ContainerUniqueName = $ContainerName
+ $azureBackUpItem.ItemName = $ItemName
+ $recoveryPoints = Get-AzureRMBackupRecoveryPoint -Item $azureBackUpItem
+ if (!($recoveryPoints -eq $null))
+ {
+ foreach($recoveryPoint in $recoveryPoints)
+ {
+ Assert-NotNull $recoveryPoint.RecoveryPointTime 'RecoveryPointTime should not be null'
+ Assert-NotNull $recoveryPoint.RecoveryPointType 'RecoveryPointType should not be null'
+ Assert-NotNull $recoveryPoint.RecoveryPointName 'RecoveryPointId should not be null'
+ }
+ }
+}
+
+function Test-GetAzureRecoveryPoint
+{
+ $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
+ $azureBackUpItem.ResourceGroupName = $ResourceGroupName
+ $azureBackUpItem.ResourceName = $ResourceName
+ $azureBackUpItem.Location = $Location
+ $azureBackUpItem.ContainerUniqueName = $ContainerName
+ $azureBackUpItem.ItemName = $ItemName
+ $recoveryPoint = Get-AzureRMBackupRecoveryPoint -Item $azureBackUpItem -RecoveryPointId $RecoveryPointName
+ if (!($recoveryPoint -eq $null))
+ {
+ Assert-NotNull $recoveryPoint.RecoveryPointTime 'RecoveryPointTime should not be null'
+ Assert-NotNull $recoveryPoint.RecoveryPointType 'RecoveryPointType should not be null'
+ Assert-NotNull $recoveryPoint.RecoveryPointName 'RecoveryPointId should not be null'
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.cs
new file mode 100644
index 000000000000..1085ef1e1725
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.cs
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
+{
+ public class RestoreItemTests : AzureBackupTestsBase
+ {
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void RestoreAzureBackUpItem()
+ {
+ this.RunPowerShellTest("Test-RestoreAzureBackUpItem");
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1
new file mode 100644
index 000000000000..77ed19cfdade
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1
@@ -0,0 +1,40 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+$ResourceGroupName = "backuprg"
+$ResourceName = "backuprn"
+$ContainerName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ContainerType = "IaasVMContainer"
+$DataSourceType = "VM"
+$DataSourceId = "17593283453810"
+$Location = "southeastasia"
+$PolicyName = "Policy9";
+$PolicyId = "c87bbada-6e1b-4db2-b76c-9062d28959a4";
+$POName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$ItemName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm"
+$RecoveryPointName = "587454680194"
+$StorageAccountName = "portalvhds7jzk3jty85qx5"
+
+
+function Test-RestoreAzureBackUpItem
+{
+ $azureBackUpRecoveryPoint = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupRecoveryPoint
+ $azureBackUpRecoveryPoint.ResourceGroupName = $ResourceGroupName
+ $azureBackUpRecoveryPoint.ResourceName = $ResourceName
+ $azureBackUpRecoveryPoint.Location = $Location
+ $azureBackUpRecoveryPoint.ContainerUniqueName = $ContainerName
+ $azureBackUpRecoveryPoint.ItemName = $ItemName
+ $azureBackUpRecoveryPoint.RecoveryPointName = $RecoveryPointName
+ $jobId = Restore-AzureRMBackupItem -RecoveryPoint $azureBackUpRecoveryPoint -StorageAccountName $StorageAccountName
+}
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
new file mode 100644
index 000000000000..411e120318d9
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupContainerScenarioTests.json
@@ -0,0 +1,257 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "b6ee8175-6285-48e1-8d88-b04a52c65045-2015-08-14 10:25:36Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "344"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "cf75119f-1291-4957-806b-483e8181a98f"
+ ],
+ "x-ms-client-request-id": [
+ "b6ee8175-6285-48e1-8d88-b04a52c65045-2015-08-14 10:25:36Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-correlation-request-id": [
+ "cf75119f-1291-4957-806b-483e8181a98f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T102539Z:cf75119f-1291-4957-806b-483e8181a98f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:25:38 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "b6ee8175-6285-48e1-8d88-b04a52c65045-2015-08-14 10:25:36Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "cc0d7b18-86d0-4f2f-94dc-48e3288b1846"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-correlation-request-id": [
+ "cc0d7b18-86d0-4f2f-94dc-48e3288b1846"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T102540Z:cc0d7b18-86d0-4f2f-94dc-48e3288b1846"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:25:40 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "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",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "56b1a915-da7a-4109-97cd-4a546fabdbde-2015-08-14 10:25:40Z-PS"
+ ],
+ "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 \"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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "606"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "f88725ce-30e4-4405-a6f9-5eae2f9bc9d3"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-correlation-request-id": [
+ "f88725ce-30e4-4405-a6f9-5eae2f9bc9d3"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T102543Z:f88725ce-30e4-4405-a6f9-5eae2f9bc9d3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:25: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/containers?api-version=2014-09-01&$filter=containerType%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPWNvbnRhaW5lclR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "fff73c43-0e6e-4137-b54f-4e1bc214edf6-2015-08-14 10:25:43Z-PS"
+ ],
+ "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 \"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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "606"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e5e16955-fb54-4c23-a222-baedd71224d5"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-correlation-request-id": [
+ "e5e16955-fb54-4c23-a222-baedd71224d5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T102544Z:e5e16955-fb54-4c23-a222-baedd71224d5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:25:44 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupMarsContainerScenarioTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupMarsContainerScenarioTests.json
index 28eb048b07bd..20d973a45259 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupMarsContainerScenarioTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupMarsContainerScenarioTests.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMT9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -10,16 +10,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "c164ee99-024c-490f-909f-46fcbfce27e3-2015-07-22 12:42:18Z-PS"
+ "d964129f-53e3-435e-ac5a-db998c5df195-2015-08-16 19:27:21Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"location\": \"westus\",\r\n \"name\": \"backuprn1\",\r\n \"etag\": \"327fe758-7f7b-4879-b708-4d5366d2c687\",\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/backuprn1\",\r\n \"type\": \"Microsoft.Backup/BackupVault\"\r\n}",
+ "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"backuprn\",\r\n \"etag\": \"231a484e-8cf6-421c-86d5-145bbdae0714\",\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": [
- "339"
+ "344"
],
"Content-Type": [
"application/json"
@@ -31,28 +31,28 @@
"no-cache"
],
"x-ms-request-id": [
- "499ed874-b244-4ac2-ae34-905b70f28b7a"
+ "47ab1ad0-8d34-4a29-89c4-e7fc92037a04"
],
"x-ms-client-request-id": [
- "c164ee99-024c-490f-909f-46fcbfce27e3-2015-07-22 12:42:18Z-PS"
+ "d964129f-53e3-435e-ac5a-db998c5df195-2015-08-16 19:27:21Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
+ "14994"
],
"x-ms-correlation-request-id": [
- "499ed874-b244-4ac2-ae34-905b70f28b7a"
+ "47ab1ad0-8d34-4a29-89c4-e7fc92037a04"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150722T124220Z:499ed874-b244-4ac2-ae34-905b70f28b7a"
+ "CENTRALUS:20150816T192723Z:47ab1ad0-8d34-4a29-89c4-e7fc92037a04"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 22 Jul 2015 12:42:19 GMT"
+ "Sun, 16 Aug 2015 19:27:22 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -61,8 +61,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -70,13 +70,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "c164ee99-024c-490f-909f-46fcbfce27e3-2015-07-22 12:42:18Z-PS"
+ "d964129f-53e3-435e-ac5a-db998c5df195-2015-08-16 19:27:21Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 8395314960984740771,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 8806790160982730560,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"106"
@@ -91,29 +91,29 @@
"no-cache"
],
"x-ms-request-id": [
- "eab30911-4bd3-4732-8ca1-c5010a84dd8b"
+ "f90183a9-4d81-4914-9c32-6d2a6bcbeff7"
],
"x-ms-client-request-id": [
- "c164ee99-024c-490f-909f-46fcbfce27e3-2015-07-22 12:42:18Z-PS",
- "c164ee99-024c-490f-909f-46fcbfce27e3-2015-07-22 12:42:18Z-PS"
+ "d964129f-53e3-435e-ac5a-db998c5df195-2015-08-16 19:27:21Z-PS",
+ "d964129f-53e3-435e-ac5a-db998c5df195-2015-08-16 19:27:21Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14992"
+ "14993"
],
"x-ms-correlation-request-id": [
- "eab30911-4bd3-4732-8ca1-c5010a84dd8b"
+ "f90183a9-4d81-4914-9c32-6d2a6bcbeff7"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150722T124221Z:eab30911-4bd3-4732-8ca1-c5010a84dd8b"
+ "CENTRALUS:20150816T192724Z:f90183a9-4d81-4914-9c32-6d2a6bcbeff7"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 22 Jul 2015 12:42:21 GMT"
+ "Sun, 16 Aug 2015 19:27:23 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/backuprn1/backupContainers?api-version=2015-03-15&$filter=type%20eq%20'Machine'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9iYWNrdXBDb250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTUmJGZpbHRlcj10eXBlJTIwZXElMjAnTWFjaGluZSc=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/backupContainers?api-version=2015-03-15&$filter=type%20eq%20'Machine'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2JhY2t1cENvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNS0wMy0xNSYkZmlsdGVyPXR5cGUlMjBlcSUyMCdNYWNoaW5lJw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -131,13 +131,13 @@
"en-us"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"uniqueName\": \"dpmdrscaleint1.dpmdom02.selfhost.corp.microsoft.com\",\r\n \"containerType\": \"Machine\",\r\n \"properties\": {\r\n \"containerId\": 10034,\r\n \"friendlyName\": \"DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM\",\r\n \"containerStampId\": \"eaf33dbc-a5b5-411a-a6af-1976a3f94602\",\r\n \"containerStampUri\": \"https://sea-dev01-prot-4bodw.ext.trafficmanager.net\",\r\n \"canReRegister\": true,\r\n \"customerType\": \"OBS\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"uniqueName\": \"dpmdrscaleint1.dpmdom02.selfhost.corp.microsoft.com\",\r\n \"containerType\": \"Machine\",\r\n \"properties\": {\r\n \"containerId\": 223719,\r\n \"friendlyName\": \"DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM\",\r\n \"containerStampId\": \"0f2ec04e-7bc1-4d24-af43-caa10134def7\",\r\n \"containerStampUri\": \"https://sea-bvtd-prot1-b6vas.ext.trafficmanager.net\",\r\n \"canReRegister\": false,\r\n \"customerType\": \"OBS\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "400"
+ "402"
],
"Content-Type": [
"application/json"
@@ -149,29 +149,29 @@
"no-cache"
],
"x-ms-request-id": [
- "fa7caa14-ec77-4ba2-8ffd-e847c2666e0f"
+ "4a860745-f408-4be2-b867-013f9141e711"
],
"x-ms-client-request-id": [
- "6ff22313-2e0b-4a95-b237-14f50997f221",
- "6ff22313-2e0b-4a95-b237-14f50997f221"
+ "1cbb90e1-1a87-48f2-abe2-a3793c53c4e3",
+ "1cbb90e1-1a87-48f2-abe2-a3793c53c4e3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14991"
+ "14992"
],
"x-ms-correlation-request-id": [
- "fa7caa14-ec77-4ba2-8ffd-e847c2666e0f"
+ "4a860745-f408-4be2-b867-013f9141e711"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150722T124222Z:fa7caa14-ec77-4ba2-8ffd-e847c2666e0f"
+ "CENTRALUS:20150816T192725Z:4a860745-f408-4be2-b867-013f9141e711"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 22 Jul 2015 12:42:21 GMT"
+ "Sun, 16 Aug 2015 19:27:25 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -180,22 +180,25 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/backupContainers?api-version=2015-03-15&$filter=type%20eq%20'Machine'%20and%20friendlyName%20eq%20'DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9iYWNrdXBDb250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTUmJGZpbHRlcj10eXBlJTIwZXElMjAnTWFjaGluZSclMjBhbmQlMjBmcmllbmRseU5hbWUlMjBlcSUyMCdEUE1EUlNDQUxFSU5UMS5EUE1ET00wMi5TRUxGSE9TVC5DT1JQLk1JQ1JPU09GVC5DT00n",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/backupContainers?api-version=2015-03-15&$filter=type%20eq%20'Machine'%20and%20friendlyName%20eq%20'DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2JhY2t1cENvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNS0wMy0xNSYkZmlsdGVyPXR5cGUlMjBlcSUyMCdNYWNoaW5lJyUyMGFuZCUyMGZyaWVuZGx5TmFtZSUyMGVxJTIwJ0RQTURSU0NBTEVJTlQxLkRQTURPTTAyLlNFTEZIT1NULkNPUlAuTUlDUk9TT0ZULkNPTSc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"Accept-Language": [
"en-us"
],
+ "x-ms-client-request-id": [
+ "0e540306-29ea-4f61-9e91-723f5422280c-2015-08-16 19:27:25Z-PS"
+ ],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"uniqueName\": \"dpmdrscaleint1.dpmdom02.selfhost.corp.microsoft.com\",\r\n \"containerType\": \"Machine\",\r\n \"properties\": {\r\n \"containerId\": 10034,\r\n \"friendlyName\": \"DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM\",\r\n \"containerStampId\": \"eaf33dbc-a5b5-411a-a6af-1976a3f94602\",\r\n \"containerStampUri\": \"https://sea-dev01-prot-4bodw.ext.trafficmanager.net\",\r\n \"canReRegister\": true,\r\n \"customerType\": \"OBS\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"uniqueName\": \"dpmdrscaleint1.dpmdom02.selfhost.corp.microsoft.com\",\r\n \"containerType\": \"Machine\",\r\n \"properties\": {\r\n \"containerId\": 223719,\r\n \"friendlyName\": \"DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM\",\r\n \"containerStampId\": \"0f2ec04e-7bc1-4d24-af43-caa10134def7\",\r\n \"containerStampUri\": \"https://sea-bvtd-prot1-b6vas.ext.trafficmanager.net\",\r\n \"canReRegister\": false,\r\n \"customerType\": \"OBS\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "400"
+ "402"
],
"Content-Type": [
"application/json"
@@ -207,29 +210,29 @@
"no-cache"
],
"x-ms-request-id": [
- "5b3c8878-c9cf-46be-bdb3-19802eedb355"
+ "10d2c6b4-ecbf-477e-ae2a-0aaa3ebaa197"
],
"x-ms-client-request-id": [
- "27052a7f-7819-4c9f-ba06-70a027ba899f",
- "27052a7f-7819-4c9f-ba06-70a027ba899f"
+ "0e540306-29ea-4f61-9e91-723f5422280c-2015-08-16 19:27:25Z-PS",
+ "0e540306-29ea-4f61-9e91-723f5422280c-2015-08-16 19:27:25Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14990"
+ "14991"
],
"x-ms-correlation-request-id": [
- "5b3c8878-c9cf-46be-bdb3-19802eedb355"
+ "10d2c6b4-ecbf-477e-ae2a-0aaa3ebaa197"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150722T124223Z:5b3c8878-c9cf-46be-bdb3-19802eedb355"
+ "CENTRALUS:20150816T192726Z:10d2c6b4-ecbf-477e-ae2a-0aaa3ebaa197"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 22 Jul 2015 12:42:22 GMT"
+ "Sun, 16 Aug 2015 19:27:25 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -238,16 +241,19 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/backupContainers?api-version=2015-03-15&$filter=type%20eq%20'Machine'%20and%20friendlyName%20eq%20'DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM'",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9iYWNrdXBDb250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTUmJGZpbHRlcj10eXBlJTIwZXElMjAnTWFjaGluZSclMjBhbmQlMjBmcmllbmRseU5hbWUlMjBlcSUyMCdEUE1EUlNDQUxFSU5UMS5EUE1ET00wMi5TRUxGSE9TVC5DT1JQLk1JQ1JPU09GVC5DT00n",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/backupContainers?api-version=2015-03-15&$filter=type%20eq%20'Machine'%20and%20friendlyName%20eq%20'DPMDRSCALEINT1.DPMDOM02.SELFHOST.CORP.MICROSOFT.COM'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2JhY2t1cENvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNS0wMy0xNSYkZmlsdGVyPXR5cGUlMjBlcSUyMCdNYWNoaW5lJyUyMGFuZCUyMGZyaWVuZGx5TmFtZSUyMGVxJTIwJ0RQTURSU0NBTEVJTlQxLkRQTURPTTAyLlNFTEZIT1NULkNPUlAuTUlDUk9TT0ZULkNPTSc=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"Accept-Language": [
"en-us"
],
+ "x-ms-client-request-id": [
+ "1066c97e-2754-4e5a-b6ff-2d94953c942f-2015-08-16 19:27:33Z-PS"
+ ],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
"ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": null\r\n}",
@@ -265,29 +271,29 @@
"no-cache"
],
"x-ms-request-id": [
- "d3d15b49-b29c-44da-9690-6cf8ae84bc26"
+ "a4b5c5eb-ae2e-4027-ba0f-b7552503c8e8"
],
"x-ms-client-request-id": [
- "fca52e4f-b2fc-4ac5-bfa2-18677f3f7f9c",
- "fca52e4f-b2fc-4ac5-bfa2-18677f3f7f9c"
+ "1066c97e-2754-4e5a-b6ff-2d94953c942f-2015-08-16 19:27:33Z-PS",
+ "1066c97e-2754-4e5a-b6ff-2d94953c942f-2015-08-16 19:27:33Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14989"
+ "14990"
],
"x-ms-correlation-request-id": [
- "d3d15b49-b29c-44da-9690-6cf8ae84bc26"
+ "a4b5c5eb-ae2e-4027-ba0f-b7552503c8e8"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150722T124231Z:d3d15b49-b29c-44da-9690-6cf8ae84bc26"
+ "CENTRALUS:20150816T192733Z:a4b5c5eb-ae2e-4027-ba0f-b7552503c8e8"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 22 Jul 2015 12:42:30 GMT"
+ "Sun, 16 Aug 2015 19:27:33 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -296,8 +302,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/backupContainers/10034/enableReRegister?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9iYWNrdXBDb250YWluZXJzLzEwMDM0L2VuYWJsZVJlUmVnaXN0ZXI/YXBpLXZlcnNpb249MjAxNS0wMy0xNQ==",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/backupContainers/223719/enableReRegister?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2JhY2t1cENvbnRhaW5lcnMvMjIzNzE5L2VuYWJsZVJlUmVnaXN0ZXI/YXBpLXZlcnNpb249MjAxNS0wMy0xNQ==",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"properties\": {\r\n \"enableReRegister\": true\r\n }\r\n}",
"RequestHeaders": {
@@ -311,10 +317,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "d4147693-3a31-4b4c-ab4c-4714de4c47fe-2015-07-22 12:42:23Z-PS"
+ "b1b3eb61-6b75-4b3a-aabf-6502dad7b7ea-2015-08-16 19:27:26Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
"ResponseBody": "",
@@ -329,36 +335,36 @@
"no-cache"
],
"x-ms-request-id": [
- "2c43793c-c4d7-4967-b315-b1e036aad163"
+ "f9b87d4c-5486-472f-9067-4a5e8e4f7aa5"
],
"x-ms-client-request-id": [
- "d4147693-3a31-4b4c-ab4c-4714de4c47fe-2015-07-22 12:42:23Z-PS",
- "d4147693-3a31-4b4c-ab4c-4714de4c47fe-2015-07-22 12:42:23Z-PS"
+ "b1b3eb61-6b75-4b3a-aabf-6502dad7b7ea-2015-08-16 19:27:26Z-PS",
+ "b1b3eb61-6b75-4b3a-aabf-6502dad7b7ea-2015-08-16 19:27:26Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1194"
],
"x-ms-correlation-request-id": [
- "2c43793c-c4d7-4967-b315-b1e036aad163"
+ "f9b87d4c-5486-472f-9067-4a5e8e4f7aa5"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150722T124224Z:2c43793c-c4d7-4967-b315-b1e036aad163"
+ "CENTRALUS:20150816T192728Z:f9b87d4c-5486-472f-9067-4a5e8e4f7aa5"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 22 Jul 2015 12:42:24 GMT"
+ "Sun, 16 Aug 2015 19:27:28 GMT"
]
},
"StatusCode": 204
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/backupContainers/10034/UnRegisterContainer?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9iYWNrdXBDb250YWluZXJzLzEwMDM0L1VuUmVnaXN0ZXJDb250YWluZXI/YXBpLXZlcnNpb249MjAxNS0wMy0xNQ==",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/backupContainers/223719/UnRegisterContainer?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2JhY2t1cENvbnRhaW5lcnMvMjIzNzE5L1VuUmVnaXN0ZXJDb250YWluZXI/YXBpLXZlcnNpb249MjAxNS0wMy0xNQ==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -366,10 +372,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "a0308b26-2cf6-416c-b73c-3ad6dfcd825e-2015-07-22 12:42:25Z-PS"
+ "d8b085b1-e327-4622-a4a2-abdb7fddf45c-2015-08-16 19:27:28Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/1.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
"ResponseBody": "",
@@ -384,29 +390,29 @@
"no-cache"
],
"x-ms-request-id": [
- "029232e7-4fc9-4705-a0ab-d990cff5c3cb"
+ "50027ffe-32d6-423d-8846-1f01eaf6e418"
],
"x-ms-client-request-id": [
- "a0308b26-2cf6-416c-b73c-3ad6dfcd825e-2015-07-22 12:42:25Z-PS",
- "a0308b26-2cf6-416c-b73c-3ad6dfcd825e-2015-07-22 12:42:25Z-PS"
+ "d8b085b1-e327-4622-a4a2-abdb7fddf45c-2015-08-16 19:27:28Z-PS",
+ "d8b085b1-e327-4622-a4a2-abdb7fddf45c-2015-08-16 19:27:28Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1193"
],
"x-ms-correlation-request-id": [
- "029232e7-4fc9-4705-a0ab-d990cff5c3cb"
+ "50027ffe-32d6-423d-8846-1f01eaf6e418"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150722T124230Z:029232e7-4fc9-4705-a0ab-d990cff5c3cb"
+ "CENTRALUS:20150816T192733Z:50027ffe-32d6-423d-8846-1f01eaf6e418"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 22 Jul 2015 12:42:30 GMT"
+ "Sun, 16 Aug 2015 19:27:32 GMT"
]
},
"StatusCode": 204
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
new file mode 100644
index 000000000000..7cc891273d27
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupRegisterContainerScenarioTests.json
@@ -0,0 +1,382 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6e091fde-9338-4f63-b81c-12565d6486f4-2015-08-18 15:40:22Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "458"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-request-id": [
+ "82213eae-32b6-407e-98f1-1907fc2f47a0"
+ ],
+ "x-ms-correlation-request-id": [
+ "82213eae-32b6-407e-98f1-1907fc2f47a0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150818T154023Z:82213eae-32b6-407e-98f1-1907fc2f47a0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 18 Aug 2015 15:40:23 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6e091fde-9338-4f63-b81c-12565d6486f4-2015-08-18 15:40:22Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 3420983535961922368,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "de793bd2-316c-41e1-8c4c-9c279ed82e85"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-correlation-request-id": [
+ "de793bd2-316c-41e1-8c4c-9c279ed82e85"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150818T154033Z:de793bd2-316c-41e1-8c4c-9c279ed82e85"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 18 Aug 2015 15:40:33 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "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==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "609"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5c0187c9-f3d8-4a00-9cc2-fb2c2092753b"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-correlation-request-id": [
+ "5c0187c9-f3d8-4a00-9cc2-fb2c2092753b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150818T154036Z:5c0187c9-f3d8-4a00-9cc2-fb2c2092753b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 18 Aug 2015 15:40:36 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/registeredContainers/iaasvmcontainer%3Bpowershellbvt%3Bpowershellbvt?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQnBvd2Vyc2hlbGxidnQlM0Jwb3dlcnNoZWxsYnZ0P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ ],
+ "x-ms-version": [
+ "2013-03-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"8fe78e98-472c-4f34-889f-504c16c7c6a9\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ddf87ac3-99d2-4ab1-af09-20a581bfb084"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "ddf87ac3-99d2-4ab1-af09-20a581bfb084"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150818T154038Z:ddf87ac3-99d2-4ab1-af09-20a581bfb084"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 18 Aug 2015 15:40:38 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/8fe78e98-472c-4f34-889f-504c16c7c6a9?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvOGZlNzhlOTgtNDcyYy00ZjM0LTg4OWYtNTA0YzE2YzdjNmE5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6f678bec-a5b8-49c0-885d-a820d913b40e"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-correlation-request-id": [
+ "6f678bec-a5b8-49c0-885d-a820d913b40e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150818T154039Z:6f678bec-a5b8-49c0-885d-a820d913b40e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 18 Aug 2015 15:40:39 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/2df287f4-5ba0-4530-b7bd-f78c34bace8a?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMmRmMjg3ZjQtNWJhMC00NTMwLWI3YmQtZjc4YzM0YmFjZThhP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "ebc2e8e9-92ea-4c9e-8bd9-c1f2eee14183-2015-08-18 15:40:33Z-PS"
+ ],
+ "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\": \"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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "677"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5569d853-28fe-4006-8a64-8880c5005433"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-correlation-request-id": [
+ "5569d853-28fe-4006-8a64-8880c5005433"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150818T154040Z:5569d853-28fe-4006-8a64-8880c5005433"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 18 Aug 2015 15:40:39 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/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
new file mode 100644
index 000000000000..1224f18479e4
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupUnregisterContainerScenarioTests.json
@@ -0,0 +1,379 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6c250745-4225-438b-89da-eea604d94145-2015-08-14 11:07:31Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-request-id": [
+ "7b4de7bb-3574-414c-aae9-c32bb5270182"
+ ],
+ "x-ms-correlation-request-id": [
+ "7b4de7bb-3574-414c-aae9-c32bb5270182"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110732Z:7b4de7bb-3574-414c-aae9-c32bb5270182"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:07:31 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6c250745-4225-438b-89da-eea604d94145-2015-08-14 11:07:31Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ecaf0dbd-787b-4a9d-97c3-a33a5a7379ea"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "ecaf0dbd-787b-4a9d-97c3-a33a5a7379ea"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110743Z:ecaf0dbd-787b-4a9d-97c3-a33a5a7379ea"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:07:43 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "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=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "b9f77ba4-d5ce-4d54-a761-eeb4c9d2659d-2015-08-14 11:07:43Z-PS"
+ ],
+ "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 \"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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "606"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "bd731385-07df-4cb9-a3d9-5b46c4e6095d"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14983"
+ ],
+ "x-ms-correlation-request-id": [
+ "bd731385-07df-4cb9-a3d9-5b46c4e6095d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110746Z:bd731385-07df-4cb9-a3d9-5b46c4e6095d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:07:45 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/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"957ed0ce-e696-4dad-ac6b-efface1b4e7c\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "891112b4-4467-4309-b256-7c0eb0409dac"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999994"
+ ],
+ "x-ms-correlation-request-id": [
+ "891112b4-4467-4309-b256-7c0eb0409dac"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110747Z:891112b4-4467-4309-b256-7c0eb0409dac"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:07:46 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/957ed0ce-e696-4dad-ac6b-efface1b4e7c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvOTU3ZWQwY2UtZTY5Ni00ZGFkLWFjNmItZWZmYWNlMWI0ZTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "333"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4aefa749-f224-4cd5-b002-739c5995d37c"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14982"
+ ],
+ "x-ms-correlation-request-id": [
+ "4aefa749-f224-4cd5-b002-739c5995d37c"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110748Z:4aefa749-f224-4cd5-b002-739c5995d37c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:07:47 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/15ba1ed4-4d41-478f-aca7-63eaef3435fe?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMTViYTFlZDQtNGQ0MS00NzhmLWFjYTctNjNlYWVmMzQzNWZlP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "13d99ef1-f619-4217-b0af-709dd2f65ab4-2015-08-14 11:07:46Z-PS"
+ ],
+ "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 \"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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "946"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "0b84a442-b6b5-413f-bb5d-e0508aa17b94"
+ ],
+ "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"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14981"
+ ],
+ "x-ms-correlation-request-id": [
+ "0b84a442-b6b5-413f-bb5d-e0508aa17b94"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110748Z:0b84a442-b6b5-413f-bb5d-e0508aa17b94"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:07:48 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/DisableAzureBackupProtectionTest.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/DisableAzureBackupProtectionTest.json
new file mode 100644
index 000000000000..8b42c890db74
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/DisableAzureBackupProtectionTest.json
@@ -0,0 +1,206 @@
+{
+ "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": [
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"cd4690ce-0636-4bbc-91f1-df314f9f0369\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "8d49524e-27bf-4082-80ef-305e5d5908e8"
+ ],
+ "x-ms-client-request-id": [
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS",
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999995"
+ ],
+ "x-ms-correlation-request-id": [
+ "8d49524e-27bf-4082-80ef-305e5d5908e8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110548Z:8d49524e-27bf-4082-80ef-305e5d5908e8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:05:47 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/cd4690ce-0636-4bbc-91f1-df314f9f0369?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvY2Q0NjkwY2UtMDYzNi00YmJjLTkxZjEtZGYzMTRmOWYwMzY5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ ],
+ "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 \"f0e97977-1d36-4c5c-b20e-a83ca4a9a126\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "9b05b550-f4d4-4ce6-b5c1-dad3ad9137c5"
+ ],
+ "x-ms-client-request-id": [
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS",
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-correlation-request-id": [
+ "9b05b550-f4d4-4ce6-b5c1-dad3ad9137c5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110559Z:9b05b550-f4d4-4ce6-b5c1-dad3ad9137c5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:05: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/jobs/f0e97977-1d36-4c5c-b20e-a83ca4a9a126?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZjBlOTc5NzctMWQzNi00YzVjLWIyMGUtYTgzY2E0YTlhMTI2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ ],
+ "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\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T11:05:48.2402923Z\",\r\n \"endTimestamp\": \"2015-08-14T11:05:51.2752133Z\",\r\n \"duration\": \"00:00:03.0349210\",\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/f0e97977-1d36-4c5c-b20e-a83ca4a9a126\",\r\n \"name\": \"f0e97977-1d36-4c5c-b20e-a83ca4a9a126\",\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": [
+ "30fa7b5b-b2c7-4be0-9df4-8663f1bb378a"
+ ],
+ "x-ms-client-request-id": [
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS",
+ "d809fbd4-6915-48f1-8803-e0992fafd33d-2015-08-14 11:05:44Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-correlation-request-id": [
+ "30fa7b5b-b2c7-4be0-9df4-8663f1bb378a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T110600Z:30fa7b5b-b2c7-4be0-9df4-8663f1bb378a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 11:05:59 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/EnableAzureBackupProtectionTest.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/EnableAzureBackupProtectionTest.json
new file mode 100644
index 000000000000..499e56031eff
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/EnableAzureBackupProtectionTest.json
@@ -0,0 +1,385 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "aa1e95ed-b9dc-4779-b9f3-dbea7695a9ab-2015-08-14 09:44:44Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-request-id": [
+ "7900531a-475d-4929-8c2f-0a50f4f64924"
+ ],
+ "x-ms-correlation-request-id": [
+ "7900531a-475d-4929-8c2f-0a50f4f64924"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T094445Z:7900531a-475d-4929-8c2f-0a50f4f64924"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:44:44 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "aa1e95ed-b9dc-4779-b9f3-dbea7695a9ab-2015-08-14 09:44:44Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "55d16cde-eeca-4566-9db3-d3413a679d9e"
+ ],
+ "x-ms-client-request-id": [
+ "aa1e95ed-b9dc-4779-b9f3-dbea7695a9ab-2015-08-14 09:44:44Z-PS",
+ "aa1e95ed-b9dc-4779-b9f3-dbea7695a9ab-2015-08-14 09:44:44Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-correlation-request-id": [
+ "55d16cde-eeca-4566-9db3-d3413a679d9e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T094447Z:55d16cde-eeca-4566-9db3-d3413a679d9e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:44:47 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "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": [
+ "45c1ce85-5eab-4dc1-9c2e-45c3f35fb543-2015-08-14 09:44:48Z-PS"
+ ],
+ "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\": \"policy09-new\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/policy09-new\",\r\n \"name\": \"policy09-new\",\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": [
+ "2171"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4ce978d8-2bae-447c-a81f-f4f130b30ca1"
+ ],
+ "x-ms-client-request-id": [
+ "45c1ce85-5eab-4dc1-9c2e-45c3f35fb543-2015-08-14 09:44:48Z-PS",
+ "45c1ce85-5eab-4dc1-9c2e-45c3f35fb543-2015-08-14 09:44:48Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-correlation-request-id": [
+ "4ce978d8-2bae-447c-a81f-f4f130b30ca1"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T094450Z:4ce978d8-2bae-447c-a81f-f4f130b30ca1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:44:50 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/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/DefaultPolicy\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "204"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"2a2498dd-7916-46ae-b11c-7f9a59eb4e1f\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2b1f8460-2ec6-4fc0-8db4-ae5b341bc867"
+ ],
+ "x-ms-client-request-id": [
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS",
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999998"
+ ],
+ "x-ms-correlation-request-id": [
+ "2b1f8460-2ec6-4fc0-8db4-ae5b341bc867"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T094452Z:2b1f8460-2ec6-4fc0-8db4-ae5b341bc867"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:44:52 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/2a2498dd-7916-46ae-b11c-7f9a59eb4e1f?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMmEyNDk4ZGQtNzkxNi00NmFlLWIxMWMtN2Y5YTU5ZWI0ZTFmP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ ],
+ "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 \"a9a103da-2f6c-41c9-8462-f4627facdddc\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b6bac549-290c-4e38-80e3-abe8fdc2f078"
+ ],
+ "x-ms-client-request-id": [
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS",
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "b6bac549-290c-4e38-80e3-abe8fdc2f078"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T094504Z:b6bac549-290c-4e38-80e3-abe8fdc2f078"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:45:04 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/a9a103da-2f6c-41c9-8462-f4627facdddc?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYTlhMTAzZGEtMmY2Yy00MWM5LTg0NjItZjQ2MjdmYWNkZGRjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ ],
+ "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 \"Policy Name\": \"DefaultPolicy\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:44:53.0040851Z\",\r\n \"endTimestamp\": \"2015-08-14T09:44:55.3374369Z\",\r\n \"duration\": \"00:00:02.3333518\",\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/a9a103da-2f6c-41c9-8462-f4627facdddc\",\r\n \"name\": \"a9a103da-2f6c-41c9-8462-f4627facdddc\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "689"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4cf4c8ba-3b61-4886-ae98-b290e80385f9"
+ ],
+ "x-ms-client-request-id": [
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS",
+ "b9685770-7ee2-414c-8abf-24b363538c40-2015-08-14 09:44:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-correlation-request-id": [
+ "4cf4c8ba-3b61-4886-ae98-b290e80385f9"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T094505Z:4cf4c8ba-3b61-4886-ae98-b290e80385f9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:45:04 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/ListAzureBackupItemTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/ListAzureBackupItemTests.json
new file mode 100644
index 000000000000..13d542f04368
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/ListAzureBackupItemTests.json
@@ -0,0 +1,136 @@
+{
+ "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": [
+ "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"protectionStatus\": \"Protected\",\r\n \"protectionPolicyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/e2epolicy1\",\r\n \"policyInconsistent\": true,\r\n \"recoveryPointsCount\": 1,\r\n \"lastRecoveryPoint\": \"2015-08-17T05:52:42.1219964Z\",\r\n \"lastBackupTime\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"lastBackupStatus\": \"Completed\",\r\n \"lastBackupJobId\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\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": [
+ "28"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ffe65465-e83c-4b68-b9f0-7b048c70b6cf"
+ ],
+ "x-ms-client-request-id": [
+ "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS",
+ "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-correlation-request-id": [
+ "ffe65465-e83c-4b68-b9f0-7b048c70b6cf"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T085959Z:ffe65465-e83c-4b68-b9f0-7b048c70b6cf"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 08:59: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/items?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2l0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS"
+ ],
+ "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": [
+ "28"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e3c1411b-d932-4cc7-9c49-3c3299e0ee12"
+ ],
+ "x-ms-client-request-id": [
+ "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS",
+ "a30f6a3e-a90c-4357-aa35-2b1851bbbe01-2015-08-14 08:59:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "e3c1411b-d932-4cc7-9c49-3c3299e0ee12"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T090000Z:e3c1411b-d932-4cc7-9c49-3c3299e0ee12"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 08:59:59 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupJobTests/GetAzureRMBackupJobTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupJobTests/GetAzureRMBackupJobTests.json
new file mode 100644
index 000000000000..aa0e691c65ac
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupJobTests/GetAzureRMBackupJobTests.json
@@ -0,0 +1,1659 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "43f84848-e313-4b1e-91f6-72fe8249bf04-2015-08-14 09:39:26Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-request-id": [
+ "1f4b3103-a01d-400d-bf6b-3684053dc331"
+ ],
+ "x-ms-correlation-request-id": [
+ "1f4b3103-a01d-400d-bf6b-3684053dc331"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093927Z:1f4b3103-a01d-400d-bf6b-3684053dc331"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:27 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "43f84848-e313-4b1e-91f6-72fe8249bf04-2015-08-14 09:39:26Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4abf9f3b-f12b-4c69-b5d1-d31c82d9a4f2"
+ ],
+ "x-ms-client-request-id": [
+ "43f84848-e313-4b1e-91f6-72fe8249bf04-2015-08-14 09:39:26Z-PS",
+ "43f84848-e313-4b1e-91f6-72fe8249bf04-2015-08-14 09:39:26Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-correlation-request-id": [
+ "4abf9f3b-f12b-4c69-b5d1-d31c82d9a4f2"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093929Z:4abf9f3b-f12b-4c69-b5d1-d31c82d9a4f2"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:29 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "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-07-15%2009:39:29%20AM'%20and%20endTime%20eq%20'2015-08-14%2009:39:29%20AM'",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPXN0YXJ0VGltZSUyMGVxJTIwJzIwMTUtMDctMTUlMjAwOSUzQTM5JTNBMjklMjBBTSclMjBhbmQlMjBlbmRUaW1lJTIwZXElMjAnMjAxNS0wOC0xNCUyMDA5JTNBMzklM0EyOSUyMEFNJw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "465f6608-04d3-4726-b100-1a936e17b668-2015-08-14 09:39:29Z-PS"
+ ],
+ "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 \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:31:49.9772538Z\",\r\n \"endTimestamp\": \"2015-08-14T09:31:50.6179401Z\",\r\n \"duration\": \"00:00:00.6406863\",\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/52198402-9816-4108-9c93-e436397838c0\",\r\n \"name\": \"52198402-9816-4108-9c93-e436397838c0\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:27:33.374331Z\",\r\n \"endTimestamp\": \"2015-08-14T09:27:35.941779Z\",\r\n \"duration\": \"00:00:02.5674480\",\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/966f6983-1791-4d87-84c7-3089c7dd18f0\",\r\n \"name\": \"966f6983-1791-4d87-84c7-3089c7dd18f0\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:17:59.1501836Z\",\r\n \"endTimestamp\": \"2015-08-14T09:18:20.678253Z\",\r\n \"duration\": \"00:00:21.5280694\",\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/8fd99388-7e15-4f30-aead-8252b32840b7\",\r\n \"name\": \"8fd99388-7e15-4f30-aead-8252b32840b7\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Failed\",\r\n \"startTimestamp\": \"2015-08-14T08:53:46.8680494Z\",\r\n \"endTimestamp\": \"2015-08-14T08:53:47.4570988Z\",\r\n \"duration\": \"00:00:00.5890494\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": [\r\n {\r\n \"errorCode\": 134607754,\r\n \"errorTitle\": \"\",\r\n \"errorString\": \"Another operation is in progress on the selected item.\",\r\n \"recommendations\": [\r\n \"If there is a current, in-progress operation, please retry after it has finished.\"\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/93927662-217a-4124-a0f5-35d28cbaf141\",\r\n \"name\": \"93927662-217a-4124-a0f5-35d28cbaf141\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T08:53:08.3515905Z\",\r\n \"endTimestamp\": \"2015-08-14T08:53:49.9685675Z\",\r\n \"duration\": \"00:00:41.6169770\",\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/ef5d0a81-aab0-45eb-af52-32030633ba53\",\r\n \"name\": \"ef5d0a81-aab0-45eb-af52-32030633ba53\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T08:52:00.5771558Z\",\r\n \"endTimestamp\": \"2015-08-14T08:52:12.1024296Z\",\r\n \"duration\": \"00:00:11.5252738\",\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/aebd4e90-4310-41ca-bd56-39ab73671a46\",\r\n \"name\": \"aebd4e90-4310-41ca-bd56-39ab73671a46\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T08:40:15.4574549Z\",\r\n \"endTimestamp\": \"2015-08-14T08:40:56.925037Z\",\r\n \"duration\": \"00:00:41.4675821\",\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/2f910f83-2cb1-43fa-a190-0538d5865453\",\r\n \"name\": \"2f910f83-2cb1-43fa-a190-0538d5865453\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T08:39:11.3652508Z\",\r\n \"endTimestamp\": \"2015-08-14T08:39:33.1717705Z\",\r\n \"duration\": \"00:00:21.8065197\",\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/0e0591b1-7898-4635-8751-e8e8534ab777\",\r\n \"name\": \"0e0591b1-7898-4635-8751-e8e8534ab777\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T06:47:43.6058999Z\",\r\n \"endTimestamp\": \"2015-08-14T06:49:17.6294578Z\",\r\n \"duration\": \"00:01:34.0235579\",\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/43abb71d-c802-4cf5-bf33-2980fc0855b1\",\r\n \"name\": \"43abb71d-c802-4cf5-bf33-2980fc0855b1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"DeleteBackupData\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T06:07:50.4167868Z\",\r\n \"endTimestamp\": \"2015-08-14T06:07:52.4427064Z\",\r\n \"duration\": \"00:00:02.0259196\",\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/3cb7d977-3b4f-4da3-8332-f46ae931fe06\",\r\n \"name\": \"3cb7d977-3b4f-4da3-8332-f46ae931fe06\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Failed\",\r\n \"startTimestamp\": \"2015-08-14T05:54:03.3214379Z\",\r\n \"endTimestamp\": \"2015-08-14T05:54:04.5703759Z\",\r\n \"duration\": \"00:00:01.2489380\",\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/589c4124-3a93-4de1-b46c-6f70487a254d\",\r\n \"name\": \"589c4124-3a93-4de1-b46c-6f70487a254d\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T05:53:31.7030839Z\",\r\n \"endTimestamp\": \"2015-08-14T05:53:33.723974Z\",\r\n \"duration\": \"00:00:02.0208901\",\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/1f0dcaa9-f6a5-41b4-ab47-4bdb1549be8f\",\r\n \"name\": \"1f0dcaa9-f6a5-41b4-ab47-4bdb1549be8f\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T19:33:43.0198677Z\",\r\n \"endTimestamp\": \"2015-08-13T19:45:56.7021821Z\",\r\n \"duration\": \"00:12:13.6823144\",\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/b6d629a1-160f-4b66-a99c-8f8d7b08d4de\",\r\n \"name\": \"b6d629a1-160f-4b66-a99c-8f8d7b08d4de\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"Failed\",\r\n \"startTimestamp\": \"2015-08-13T18:11:27.2702261Z\",\r\n \"endTimestamp\": \"2015-08-13T18:14:58.8024457Z\",\r\n \"duration\": \"00:03:31.5322196\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": [\r\n {\r\n \"errorCode\": 400048,\r\n \"errorTitle\": \"\",\r\n \"errorString\": \"Storage Account specified for Restore operation doesn't exist.\",\r\n \"recommendations\": [\r\n \"Make sure that the storage account specified in restore operation exists till restore operation is completed. If you have deleted the specified storage account, please create a different storage account and retry the operation. \"\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/2fd9aa1f-3973-4c9c-b82c-1d66f4427623\",\r\n \"name\": \"2fd9aa1f-3973-4c9c-b82c-1d66f4427623\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T16:50:43.60986Z\",\r\n \"endTimestamp\": \"2015-08-13T17:03:57.8233636Z\",\r\n \"duration\": \"00:13:14.2135036\",\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/c79451c6-bdb5-4651-b75e-c1a04f326ebb\",\r\n \"name\": \"c79451c6-bdb5-4651-b75e-c1a04f326ebb\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Cancelled\",\r\n \"startTimestamp\": \"2015-08-13T15:40:34.8227255Z\",\r\n \"endTimestamp\": \"2015-08-13T15:47:15.1322365Z\",\r\n \"duration\": \"00:06:40.3095110\",\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 \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T15:28:15.83222Z\",\r\n \"endTimestamp\": \"2015-08-13T15:28:17.9335331Z\",\r\n \"duration\": \"00:00:02.1013131\",\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/ea560231-bbdf-4625-9037-e5fe3e7fd74f\",\r\n \"name\": \"ea560231-bbdf-4625-9037-e5fe3e7fd74f\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"DeleteBackupData\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T15:27:54.5246809Z\",\r\n \"endTimestamp\": \"2015-08-13T15:27:57.039715Z\",\r\n \"duration\": \"00:00:02.5150341\",\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/2acb45f7-a204-472e-90c4-f3c1edab24b4\",\r\n \"name\": \"2acb45f7-a204-472e-90c4-f3c1edab24b4\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"workloadType\": \"IaasVM\",\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\": \"IaasVM\",\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\": \"IaasVM\",\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\": \"IaasVM\",\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\": \"IaasVM\",\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": [
+ "13381"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1d9abbf2-c617-4cac-aeeb-61d70a65b471"
+ ],
+ "x-ms-client-request-id": [
+ "465f6608-04d3-4726-b100-1a936e17b668-2015-08-14 09:39:29Z-PS",
+ "465f6608-04d3-4726-b100-1a936e17b668-2015-08-14 09:39:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14981"
+ ],
+ "x-ms-correlation-request-id": [
+ "1d9abbf2-c617-4cac-aeeb-61d70a65b471"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093932Z:1d9abbf2-c617-4cac-aeeb-61d70a65b471"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39: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/52198402-9816-4108-9c93-e436397838c0?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNTIxOTg0MDItOTgxNi00MTA4LTljOTMtZTQzNjM5NzgzOGMwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "17150909-6047-46ef-8e90-a3fd9d181928-2015-08-14 09:39:33Z-PS"
+ ],
+ "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\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:31:49.9772538Z\",\r\n \"endTimestamp\": \"2015-08-14T09:31:50.6179401Z\",\r\n \"duration\": \"00:00:00.6406863\",\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/52198402-9816-4108-9c93-e436397838c0\",\r\n \"name\": \"52198402-9816-4108-9c93-e436397838c0\",\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": [
+ "e9b6b05f-a125-4ac6-a651-6725aa999dfc"
+ ],
+ "x-ms-client-request-id": [
+ "17150909-6047-46ef-8e90-a3fd9d181928-2015-08-14 09:39:33Z-PS",
+ "17150909-6047-46ef-8e90-a3fd9d181928-2015-08-14 09:39:33Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14980"
+ ],
+ "x-ms-correlation-request-id": [
+ "e9b6b05f-a125-4ac6-a651-6725aa999dfc"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093934Z:e9b6b05f-a125-4ac6-a651-6725aa999dfc"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:33 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/966f6983-1791-4d87-84c7-3089c7dd18f0?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOTY2ZjY5ODMtMTc5MS00ZDg3LTg0YzctMzA4OWM3ZGQxOGYwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c15e89fa-80c5-44a0-a04b-423d4f96b886-2015-08-14 09:39:34Z-PS"
+ ],
+ "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 \"Policy Name\": \"DefaultPolicy\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:27:33.374331Z\",\r\n \"endTimestamp\": \"2015-08-14T09:27:35.941779Z\",\r\n \"duration\": \"00:00:02.5674480\",\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/966f6983-1791-4d87-84c7-3089c7dd18f0\",\r\n \"name\": \"966f6983-1791-4d87-84c7-3089c7dd18f0\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "687"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7f1479ab-f0d9-4239-bebd-78ea8e46f61f"
+ ],
+ "x-ms-client-request-id": [
+ "c15e89fa-80c5-44a0-a04b-423d4f96b886-2015-08-14 09:39:34Z-PS",
+ "c15e89fa-80c5-44a0-a04b-423d4f96b886-2015-08-14 09:39:34Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14979"
+ ],
+ "x-ms-correlation-request-id": [
+ "7f1479ab-f0d9-4239-bebd-78ea8e46f61f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093935Z:7f1479ab-f0d9-4239-bebd-78ea8e46f61f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:34 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/8fd99388-7e15-4f30-aead-8252b32840b7?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOGZkOTkzODgtN2UxNS00ZjMwLWFlYWQtODI1MmIzMjg0MGI3P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "118388db-b41c-4183-aa92-de4f83538fbe-2015-08-14 09:39:35Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:17:59.1501836Z\",\r\n \"endTimestamp\": \"2015-08-14T09:18:20.678253Z\",\r\n \"duration\": \"00:00:21.5280694\",\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/8fd99388-7e15-4f30-aead-8252b32840b7\",\r\n \"name\": \"8fd99388-7e15-4f30-aead-8252b32840b7\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "683"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "41a1719d-0154-49ce-b92e-76e59f36d31d"
+ ],
+ "x-ms-client-request-id": [
+ "118388db-b41c-4183-aa92-de4f83538fbe-2015-08-14 09:39:35Z-PS",
+ "118388db-b41c-4183-aa92-de4f83538fbe-2015-08-14 09:39:35Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14978"
+ ],
+ "x-ms-correlation-request-id": [
+ "41a1719d-0154-49ce-b92e-76e59f36d31d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093935Z:41a1719d-0154-49ce-b92e-76e59f36d31d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:34 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/93927662-217a-4124-a0f5-35d28cbaf141?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOTM5Mjc2NjItMjE3YS00MTI0LWEwZjUtMzVkMjhjYmFmMTQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "702b2591-f0b4-407e-9380-8a50d6b01252-2015-08-14 09:39:36Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Failed\",\r\n \"startTimestamp\": \"2015-08-14T08:53:46.8680494Z\",\r\n \"endTimestamp\": \"2015-08-14T08:53:47.4570988Z\",\r\n \"duration\": \"00:00:00.5890494\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": [\r\n {\r\n \"errorCode\": 134607754,\r\n \"errorTitle\": \"\",\r\n \"errorString\": \"Another operation is in progress on the selected item.\",\r\n \"recommendations\": [\r\n \"If there is a current, in-progress operation, please retry after it has finished.\"\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/93927662-217a-4124-a0f5-35d28cbaf141\",\r\n \"name\": \"93927662-217a-4124-a0f5-35d28cbaf141\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "893"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "538c2b44-d5c0-434d-847d-e75be8a46b20"
+ ],
+ "x-ms-client-request-id": [
+ "702b2591-f0b4-407e-9380-8a50d6b01252-2015-08-14 09:39:36Z-PS",
+ "702b2591-f0b4-407e-9380-8a50d6b01252-2015-08-14 09:39:36Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14977"
+ ],
+ "x-ms-correlation-request-id": [
+ "538c2b44-d5c0-434d-847d-e75be8a46b20"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093936Z:538c2b44-d5c0-434d-847d-e75be8a46b20"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:36 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/ef5d0a81-aab0-45eb-af52-32030633ba53?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWY1ZDBhODEtYWFiMC00NWViLWFmNTItMzIwMzA2MzNiYTUzP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "e87f9bc8-ecd9-4b37-a6d1-d9f84b14d072-2015-08-14 09:39:36Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T08:53:08.3515905Z\",\r\n \"endTimestamp\": \"2015-08-14T08:53:49.9685675Z\",\r\n \"duration\": \"00:00:41.6169770\",\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/ef5d0a81-aab0-45eb-af52-32030633ba53\",\r\n \"name\": \"ef5d0a81-aab0-45eb-af52-32030633ba53\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "686"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "3b7b9b43-9872-475f-8bea-60561bc415eb"
+ ],
+ "x-ms-client-request-id": [
+ "e87f9bc8-ecd9-4b37-a6d1-d9f84b14d072-2015-08-14 09:39:36Z-PS",
+ "e87f9bc8-ecd9-4b37-a6d1-d9f84b14d072-2015-08-14 09:39:36Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14976"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b7b9b43-9872-475f-8bea-60561bc415eb"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093937Z:3b7b9b43-9872-475f-8bea-60561bc415eb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:37 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/aebd4e90-4310-41ca-bd56-39ab73671a46?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWViZDRlOTAtNDMxMC00MWNhLWJkNTYtMzlhYjczNjcxYTQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "8c7c48d4-aec2-4953-9fe7-088c2211ef0e-2015-08-14 09:39:37Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T08:52:00.5771558Z\",\r\n \"endTimestamp\": \"2015-08-14T08:52:12.1024296Z\",\r\n \"duration\": \"00:00:11.5252738\",\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/aebd4e90-4310-41ca-bd56-39ab73671a46\",\r\n \"name\": \"aebd4e90-4310-41ca-bd56-39ab73671a46\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "684"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "da20bd7e-c72b-44f3-a7dc-28bf45be2da5"
+ ],
+ "x-ms-client-request-id": [
+ "8c7c48d4-aec2-4953-9fe7-088c2211ef0e-2015-08-14 09:39:37Z-PS",
+ "8c7c48d4-aec2-4953-9fe7-088c2211ef0e-2015-08-14 09:39:37Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14975"
+ ],
+ "x-ms-correlation-request-id": [
+ "da20bd7e-c72b-44f3-a7dc-28bf45be2da5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093938Z:da20bd7e-c72b-44f3-a7dc-28bf45be2da5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:38 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/2f910f83-2cb1-43fa-a190-0538d5865453?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMmY5MTBmODMtMmNiMS00M2ZhLWExOTAtMDUzOGQ1ODY1NDUzP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6e8765de-a426-44ee-b1ad-60a0e0037576-2015-08-14 09:39:38Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T08:40:15.4574549Z\",\r\n \"endTimestamp\": \"2015-08-14T08:40:56.925037Z\",\r\n \"duration\": \"00:00:41.4675821\",\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/2f910f83-2cb1-43fa-a190-0538d5865453\",\r\n \"name\": \"2f910f83-2cb1-43fa-a190-0538d5865453\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "685"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7b67124c-4392-4486-b60c-aaa2f31fd4be"
+ ],
+ "x-ms-client-request-id": [
+ "6e8765de-a426-44ee-b1ad-60a0e0037576-2015-08-14 09:39:38Z-PS",
+ "6e8765de-a426-44ee-b1ad-60a0e0037576-2015-08-14 09:39:38Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14974"
+ ],
+ "x-ms-correlation-request-id": [
+ "7b67124c-4392-4486-b60c-aaa2f31fd4be"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093939Z:7b67124c-4392-4486-b60c-aaa2f31fd4be"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:38 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/0e0591b1-7898-4635-8751-e8e8534ab777?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMGUwNTkxYjEtNzg5OC00NjM1LTg3NTEtZThlODUzNGFiNzc3P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "97a18817-bc4f-4b2c-9241-4aa52333b7e4-2015-08-14 09:39:39Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T08:39:11.3652508Z\",\r\n \"endTimestamp\": \"2015-08-14T08:39:33.1717705Z\",\r\n \"duration\": \"00:00:21.8065197\",\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/0e0591b1-7898-4635-8751-e8e8534ab777\",\r\n \"name\": \"0e0591b1-7898-4635-8751-e8e8534ab777\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "684"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c5e25ff8-1764-4f3c-bf3b-c47a7f6148f5"
+ ],
+ "x-ms-client-request-id": [
+ "97a18817-bc4f-4b2c-9241-4aa52333b7e4-2015-08-14 09:39:39Z-PS",
+ "97a18817-bc4f-4b2c-9241-4aa52333b7e4-2015-08-14 09:39:39Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14973"
+ ],
+ "x-ms-correlation-request-id": [
+ "c5e25ff8-1764-4f3c-bf3b-c47a7f6148f5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093940Z:c5e25ff8-1764-4f3c-bf3b-c47a7f6148f5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:39 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/43abb71d-c802-4cf5-bf33-2980fc0855b1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDNhYmI3MWQtYzgwMi00Y2Y1LWJmMzMtMjk4MGZjMDg1NWIxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "087bb917-ee6d-4ce3-9c56-613ade7ace26-2015-08-14 09:39:40Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T06:47:43.6058999Z\",\r\n \"endTimestamp\": \"2015-08-14T06:49:17.6294578Z\",\r\n \"duration\": \"00:01:34.0235579\",\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/43abb71d-c802-4cf5-bf33-2980fc0855b1\",\r\n \"name\": \"43abb71d-c802-4cf5-bf33-2980fc0855b1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "686"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e4f62734-2341-462a-b6c4-92adb27c6307"
+ ],
+ "x-ms-client-request-id": [
+ "087bb917-ee6d-4ce3-9c56-613ade7ace26-2015-08-14 09:39:40Z-PS",
+ "087bb917-ee6d-4ce3-9c56-613ade7ace26-2015-08-14 09:39:40Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14972"
+ ],
+ "x-ms-correlation-request-id": [
+ "e4f62734-2341-462a-b6c4-92adb27c6307"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093940Z:e4f62734-2341-462a-b6c4-92adb27c6307"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:40 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/3cb7d977-3b4f-4da3-8332-f46ae931fe06?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvM2NiN2Q5NzctM2I0Zi00ZGEzLTgzMzItZjQ2YWU5MzFmZTA2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "cbb232c9-22d1-45a1-880c-95d7c69b460d-2015-08-14 09:39:41Z-PS"
+ ],
+ "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 \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"DeleteBackupData\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T06:07:50.4167868Z\",\r\n \"endTimestamp\": \"2015-08-14T06:07:52.4427064Z\",\r\n \"duration\": \"00:00:02.0259196\",\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/3cb7d977-3b4f-4da3-8332-f46ae931fe06\",\r\n \"name\": \"3cb7d977-3b4f-4da3-8332-f46ae931fe06\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "692"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "9220fe85-18c9-4e41-8f17-32df21af55b9"
+ ],
+ "x-ms-client-request-id": [
+ "cbb232c9-22d1-45a1-880c-95d7c69b460d-2015-08-14 09:39:41Z-PS",
+ "cbb232c9-22d1-45a1-880c-95d7c69b460d-2015-08-14 09:39:41Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14971"
+ ],
+ "x-ms-correlation-request-id": [
+ "9220fe85-18c9-4e41-8f17-32df21af55b9"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093942Z:9220fe85-18c9-4e41-8f17-32df21af55b9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:42 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/589c4124-3a93-4de1-b46c-6f70487a254d?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNTg5YzQxMjQtM2E5My00ZGUxLWI0NmMtNmY3MDQ4N2EyNTRkP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "d097901a-13d7-4e09-84c6-e9062056ed11-2015-08-14 09:39:42Z-PS"
+ ],
+ "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 \"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-14T05:54:03.3214379Z\",\r\n \"endTimestamp\": \"2015-08-14T05:54:04.5703759Z\",\r\n \"duration\": \"00:00:01.2489380\",\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/589c4124-3a93-4de1-b46c-6f70487a254d\",\r\n \"name\": \"589c4124-3a93-4de1-b46c-6f70487a254d\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "954"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b11b92bd-77b9-439d-99d0-336237b79a29"
+ ],
+ "x-ms-client-request-id": [
+ "d097901a-13d7-4e09-84c6-e9062056ed11-2015-08-14 09:39:42Z-PS",
+ "d097901a-13d7-4e09-84c6-e9062056ed11-2015-08-14 09:39:42Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14970"
+ ],
+ "x-ms-correlation-request-id": [
+ "b11b92bd-77b9-439d-99d0-336237b79a29"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093943Z:b11b92bd-77b9-439d-99d0-336237b79a29"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39: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/1f0dcaa9-f6a5-41b4-ab47-4bdb1549be8f?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMWYwZGNhYTktZjZhNS00MWI0LWFiNDctNGJkYjE1NDliZThmP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "290f3ed9-9800-4697-8a81-d2392477c83d-2015-08-14 09:39:43Z-PS"
+ ],
+ "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\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T05:53:31.7030839Z\",\r\n \"endTimestamp\": \"2015-08-14T05:53:33.723974Z\",\r\n \"duration\": \"00:00:02.0208901\",\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/1f0dcaa9-f6a5-41b4-ab47-4bdb1549be8f\",\r\n \"name\": \"1f0dcaa9-f6a5-41b4-ab47-4bdb1549be8f\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "681"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "884ab783-12e2-45cc-88f9-7653c247109e"
+ ],
+ "x-ms-client-request-id": [
+ "290f3ed9-9800-4697-8a81-d2392477c83d-2015-08-14 09:39:43Z-PS",
+ "290f3ed9-9800-4697-8a81-d2392477c83d-2015-08-14 09:39:43Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14969"
+ ],
+ "x-ms-correlation-request-id": [
+ "884ab783-12e2-45cc-88f9-7653c247109e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093944Z:884ab783-12e2-45cc-88f9-7653c247109e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39: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/b6d629a1-160f-4b66-a99c-8f8d7b08d4de?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYjZkNjI5YTEtMTYwZi00YjY2LWE5OWMtOGY4ZDdiMDhkNGRlP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "0b4fa249-1598-4fbe-93eb-62bdb3c35ba4-2015-08-14 09:39:44Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"Completed\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"17 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T19:33:43.0198677Z\",\r\n \"endTimestamp\": \"2015-08-13T19:45:56.7021821Z\",\r\n \"duration\": \"00:12:13.6823144\",\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/b6d629a1-160f-4b66-a99c-8f8d7b08d4de\",\r\n \"name\": \"b6d629a1-160f-4b66-a99c-8f8d7b08d4de\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "942"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1b7c1456-1232-461c-a8fc-e040071c0ae3"
+ ],
+ "x-ms-client-request-id": [
+ "0b4fa249-1598-4fbe-93eb-62bdb3c35ba4-2015-08-14 09:39:44Z-PS",
+ "0b4fa249-1598-4fbe-93eb-62bdb3c35ba4-2015-08-14 09:39:44Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14968"
+ ],
+ "x-ms-correlation-request-id": [
+ "1b7c1456-1232-461c-a8fc-e040071c0ae3"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093945Z:1b7c1456-1232-461c-a8fc-e040071c0ae3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:44 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/2fd9aa1f-3973-4c9c-b82c-1d66f4427623?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMmZkOWFhMWYtMzk3My00YzljLWI4MmMtMWQ2NmY0NDI3NjIzP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "38f246bf-991a-4f85-8282-efa074b136e2-2015-08-14 09:39:45Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"portalvhds7jzk3jty85qx5\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"Failed\",\r\n \"startTimestamp\": \"2015-08-13T18:11:27.2702261Z\",\r\n \"endTimestamp\": \"2015-08-13T18:14:58.8024457Z\",\r\n \"duration\": \"00:03:31.5322196\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": [\r\n 1\r\n ],\r\n \"errorDetails\": [\r\n {\r\n \"errorCode\": 400048,\r\n \"errorTitle\": \"\",\r\n \"errorString\": \"Storage Account specified for Restore operation doesn't exist.\",\r\n \"recommendations\": [\r\n \"Make sure that the storage account specified in restore operation exists till restore operation is completed. If you have deleted the specified storage account, please create a different storage account and retry the operation. \"\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/2fd9aa1f-3973-4c9c-b82c-1d66f4427623\",\r\n \"name\": \"2fd9aa1f-3973-4c9c-b82c-1d66f4427623\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1067"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "f827446d-50c2-43b1-932b-def68f8b0290"
+ ],
+ "x-ms-client-request-id": [
+ "38f246bf-991a-4f85-8282-efa074b136e2-2015-08-14 09:39:45Z-PS",
+ "38f246bf-991a-4f85-8282-efa074b136e2-2015-08-14 09:39:45Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14967"
+ ],
+ "x-ms-correlation-request-id": [
+ "f827446d-50c2-43b1-932b-def68f8b0290"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093946Z:f827446d-50c2-43b1-932b-def68f8b0290"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:46 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/c79451c6-bdb5-4651-b75e-c1a04f326ebb?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYzc5NDUxYzYtYmRiNS00NjUxLWI3NWUtYzFhMDRmMzI2ZWJiP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5a1e5725-dac7-4eac-a138-84334b774968-2015-08-14 09:39:46Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"Completed\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"10166 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T16:50:43.60986Z\",\r\n \"endTimestamp\": \"2015-08-13T17:03:57.8233636Z\",\r\n \"duration\": \"00:13:14.2135036\",\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/c79451c6-bdb5-4651-b75e-c1a04f326ebb\",\r\n \"name\": \"c79451c6-bdb5-4651-b75e-c1a04f326ebb\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "943"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "13864818-5a47-4591-991f-8562d6ab6bc0"
+ ],
+ "x-ms-client-request-id": [
+ "5a1e5725-dac7-4eac-a138-84334b774968-2015-08-14 09:39:46Z-PS",
+ "5a1e5725-dac7-4eac-a138-84334b774968-2015-08-14 09:39:46Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14966"
+ ],
+ "x-ms-correlation-request-id": [
+ "13864818-5a47-4591-991f-8562d6ab6bc0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093946Z:13864818-5a47-4591-991f-8562d6ab6bc0"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:46 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": [
+ "d4120684-554e-41fc-95a8-7e3a9be75acf-2015-08-14 09:39:47Z-PS"
+ ],
+ "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\": \"Cancelled\",\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\": \"Cancelled\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"0 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,WMI Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer,ASR Writer,Registry Writer,BITS Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Cancelled\",\r\n \"startTimestamp\": \"2015-08-13T15:40:34.8227255Z\",\r\n \"endTimestamp\": \"2015-08-13T15:47:15.1322365Z\",\r\n \"duration\": \"00:06:40.3095110\",\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": [
+ "1110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "dd185532-3f4f-4451-8230-e91c063e5206"
+ ],
+ "x-ms-client-request-id": [
+ "d4120684-554e-41fc-95a8-7e3a9be75acf-2015-08-14 09:39:47Z-PS",
+ "d4120684-554e-41fc-95a8-7e3a9be75acf-2015-08-14 09:39:47Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14965"
+ ],
+ "x-ms-correlation-request-id": [
+ "dd185532-3f4f-4451-8230-e91c063e5206"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093947Z:dd185532-3f4f-4451-8230-e91c063e5206"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:47 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/ea560231-bbdf-4625-9037-e5fe3e7fd74f?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWE1NjAyMzEtYmJkZi00NjI1LTkwMzctZTVmZTNlN2ZkNzRmP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "3ad485b4-390c-4769-8429-9a1f3eb76b8a-2015-08-14 09:39:47Z-PS"
+ ],
+ "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 \"Policy Name\": \"ProtPolicy01\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T15:28:15.83222Z\",\r\n \"endTimestamp\": \"2015-08-13T15:28:17.9335331Z\",\r\n \"duration\": \"00:00:02.1013131\",\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/ea560231-bbdf-4625-9037-e5fe3e7fd74f\",\r\n \"name\": \"ea560231-bbdf-4625-9037-e5fe3e7fd74f\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "686"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "983b0f11-66d4-4e65-9394-45e75d0111e2"
+ ],
+ "x-ms-client-request-id": [
+ "3ad485b4-390c-4769-8429-9a1f3eb76b8a-2015-08-14 09:39:47Z-PS",
+ "3ad485b4-390c-4769-8429-9a1f3eb76b8a-2015-08-14 09:39:47Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14964"
+ ],
+ "x-ms-correlation-request-id": [
+ "983b0f11-66d4-4e65-9394-45e75d0111e2"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093948Z:983b0f11-66d4-4e65-9394-45e75d0111e2"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:48 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/2acb45f7-a204-472e-90c4-f3c1edab24b4?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMmFjYjQ1ZjctYTIwNC00NzJlLTkwYzQtZjNjMWVkYWIyNGI0P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6e73aa8f-27b0-4479-a034-02decbcb4876-2015-08-14 09:39:48Z-PS"
+ ],
+ "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 \"Number of Recovery Points\": \"0\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"DeleteBackupData\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-13T15:27:54.5246809Z\",\r\n \"endTimestamp\": \"2015-08-13T15:27:57.039715Z\",\r\n \"duration\": \"00:00:02.5150341\",\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/2acb45f7-a204-472e-90c4-f3c1edab24b4\",\r\n \"name\": \"2acb45f7-a204-472e-90c4-f3c1edab24b4\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "691"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "37f26a3c-39a1-4915-aae6-366c46cdcefc"
+ ],
+ "x-ms-client-request-id": [
+ "6e73aa8f-27b0-4479-a034-02decbcb4876-2015-08-14 09:39:48Z-PS",
+ "6e73aa8f-27b0-4479-a034-02decbcb4876-2015-08-14 09:39:48Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14963"
+ ],
+ "x-ms-correlation-request-id": [
+ "37f26a3c-39a1-4915-aae6-366c46cdcefc"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093949Z:37f26a3c-39a1-4915-aae6-366c46cdcefc"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:49 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": [
+ "bcce79d1-89a6-4dac-bfe0-80a71a5eeb2c-2015-08-14 09:39:49Z-PS"
+ ],
+ "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\": \"IaasVM\",\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": [
+ "283487f1-27bc-41cf-8933-fc7d94cfc121"
+ ],
+ "x-ms-client-request-id": [
+ "bcce79d1-89a6-4dac-bfe0-80a71a5eeb2c-2015-08-14 09:39:49Z-PS",
+ "bcce79d1-89a6-4dac-bfe0-80a71a5eeb2c-2015-08-14 09:39:49Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14962"
+ ],
+ "x-ms-correlation-request-id": [
+ "283487f1-27bc-41cf-8933-fc7d94cfc121"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093950Z:283487f1-27bc-41cf-8933-fc7d94cfc121"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:49 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/402fa232-0e07-4443-9451-a91e8d37a43c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDAyZmEyMzItMGUwNy00NDQzLTk0NTEtYTkxZThkMzdhNDNjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "091f7803-0546-4956-9e7b-8f48090718e7-2015-08-14 09:39:50Z-PS"
+ ],
+ "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 \"Policy Name\": \"ProtPolicy01\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "84ce2197-34ab-4126-b326-9c5fd4059e63"
+ ],
+ "x-ms-client-request-id": [
+ "091f7803-0546-4956-9e7b-8f48090718e7-2015-08-14 09:39:50Z-PS",
+ "091f7803-0546-4956-9e7b-8f48090718e7-2015-08-14 09:39:50Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14961"
+ ],
+ "x-ms-correlation-request-id": [
+ "84ce2197-34ab-4126-b326-9c5fd4059e63"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093951Z:84ce2197-34ab-4126-b326-9c5fd4059e63"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:50 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/6c6b2a5c-ac49-48d5-b08c-b09eb00255c2?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNmM2YjJhNWMtYWM0OS00OGQ1LWIwOGMtYjA5ZWIwMDI1NWMyP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "00ce0512-459c-491e-bb13-7b92544a2fe1-2015-08-14 09:39:51Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "684"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e84e49d2-438b-422d-972f-ba3d274fdeb1"
+ ],
+ "x-ms-client-request-id": [
+ "00ce0512-459c-491e-bb13-7b92544a2fe1-2015-08-14 09:39:51Z-PS",
+ "00ce0512-459c-491e-bb13-7b92544a2fe1-2015-08-14 09:39:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14960"
+ ],
+ "x-ms-correlation-request-id": [
+ "e84e49d2-438b-422d-972f-ba3d274fdeb1"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093951Z:e84e49d2-438b-422d-972f-ba3d274fdeb1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:51 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/19ecef30-540e-4094-baad-8749c2e0807a?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMTllY2VmMzAtNTQwZS00MDk0LWJhYWQtODc0OWMyZTA4MDdhP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "3251eb7a-bc51-424f-b0a4-633a6837071c-2015-08-14 09:39:52Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "686"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "9e528a42-bb61-4af1-97f2-720d48235801"
+ ],
+ "x-ms-client-request-id": [
+ "3251eb7a-bc51-424f-b0a4-633a6837071c-2015-08-14 09:39:52Z-PS",
+ "3251eb7a-bc51-424f-b0a4-633a6837071c-2015-08-14 09:39:52Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14959"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e528a42-bb61-4af1-97f2-720d48235801"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093952Z:9e528a42-bb61-4af1-97f2-720d48235801"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:51 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/2135b3fc-69fc-4f4f-9392-00fc2659e8df?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvMjEzNWIzZmMtNjlmYy00ZjRmLTkzOTItMDBmYzI2NTllOGRmP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "12dc9ee9-2f63-4623-beb0-bbc11fed0996-2015-08-14 09:39:52Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "684"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "25285c34-ebb0-432a-80f2-26cd7957daa9"
+ ],
+ "x-ms-client-request-id": [
+ "12dc9ee9-2f63-4623-beb0-bbc11fed0996-2015-08-14 09:39:52Z-PS",
+ "12dc9ee9-2f63-4623-beb0-bbc11fed0996-2015-08-14 09:39:52Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14958"
+ ],
+ "x-ms-correlation-request-id": [
+ "25285c34-ebb0-432a-80f2-26cd7957daa9"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T093953Z:25285c34-ebb0-432a-80f2-26cd7957daa9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:39:53 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupJobTests/StopAzureRMBackupJobTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupJobTests/StopAzureRMBackupJobTests.json
new file mode 100644
index 000000000000..b8e2435d10fe
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupJobTests/StopAzureRMBackupJobTests.json
@@ -0,0 +1,520 @@
+{
+ "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": [
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"5adc0601-727b-49dd-afdb-4ade7c9a08f5\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b1906920-798b-4a87-b0bf-47f4418f79f0"
+ ],
+ "x-ms-client-request-id": [
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS",
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999994"
+ ],
+ "x-ms-correlation-request-id": [
+ "b1906920-798b-4a87-b0bf-47f4418f79f0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T101141Z:b1906920-798b-4a87-b0bf-47f4418f79f0"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:11:40 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/5adc0601-727b-49dd-afdb-4ade7c9a08f5?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvNWFkYzA2MDEtNzI3Yi00OWRkLWFmZGItNGFkZTdjOWEwOGY1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS"
+ ],
+ "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 \"bee71778-2b7f-43a5-ba6f-07ea397526e9\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e35e0a9a-3edf-452a-b40f-470d485d1916"
+ ],
+ "x-ms-client-request-id": [
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS",
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14983"
+ ],
+ "x-ms-correlation-request-id": [
+ "e35e0a9a-3edf-452a-b40f-470d485d1916"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T101153Z:e35e0a9a-3edf-452a-b40f-470d485d1916"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:11:53 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/bee71778-2b7f-43a5-ba6f-07ea397526e9?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmVlNzE3NzgtMmI3Zi00M2E1LWJhNmYtMDdlYTM5NzUyNmU5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-14T10:11:41.9796393Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:13.0377284\",\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/bee71778-2b7f-43a5-ba6f-07ea397526e9\",\r\n \"name\": \"bee71778-2b7f-43a5-ba6f-07ea397526e9\",\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": [
+ "a8452ce4-8cb8-41cc-8ba0-e5dd68fe9bd8"
+ ],
+ "x-ms-client-request-id": [
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS",
+ "3d9e8d8a-c5cf-4296-b95e-35a1292cddd5-2015-08-14 10:11:38Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14982"
+ ],
+ "x-ms-correlation-request-id": [
+ "a8452ce4-8cb8-41cc-8ba0-e5dd68fe9bd8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T101154Z:a8452ce4-8cb8-41cc-8ba0-e5dd68fe9bd8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:11:54 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/bee71778-2b7f-43a5-ba6f-07ea397526e9?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmVlNzE3NzgtMmI3Zi00M2E1LWJhNmYtMDdlYTM5NzUyNmU5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "a41eeb21-935f-47f6-a5f9-4f54161fc634-2015-08-14 10:11:56Z-PS"
+ ],
+ "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\": \"Cancelled\",\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\": \"Cancelled\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"0 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Cancelled\",\r\n \"startTimestamp\": \"2015-08-14T10:11:41.9796393Z\",\r\n \"endTimestamp\": \"2015-08-14T10:15:07.9019843Z\",\r\n \"duration\": \"00:03:25.9223450\",\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/bee71778-2b7f-43a5-ba6f-07ea397526e9\",\r\n \"name\": \"bee71778-2b7f-43a5-ba6f-07ea397526e9\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "941"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6bbdafe9-304c-4628-af07-2f59567cd8a5"
+ ],
+ "x-ms-client-request-id": [
+ "a41eeb21-935f-47f6-a5f9-4f54161fc634-2015-08-14 10:11:56Z-PS",
+ "a41eeb21-935f-47f6-a5f9-4f54161fc634-2015-08-14 10:11:56Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14973"
+ ],
+ "x-ms-correlation-request-id": [
+ "6bbdafe9-304c-4628-af07-2f59567cd8a5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T101536Z:6bbdafe9-304c-4628-af07-2f59567cd8a5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:15:36 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/bee71778-2b7f-43a5-ba6f-07ea397526e9?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmVlNzE3NzgtMmI3Zi00M2E1LWJhNmYtMDdlYTM5NzUyNmU5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "a41eeb21-935f-47f6-a5f9-4f54161fc634-2015-08-14 10:11:56Z-PS"
+ ],
+ "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\": \"Cancelled\",\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\": \"Cancelled\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"0 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Cancelled\",\r\n \"startTimestamp\": \"2015-08-14T10:11:41.9796393Z\",\r\n \"endTimestamp\": \"2015-08-14T10:15:07.9019843Z\",\r\n \"duration\": \"00:03:25.9223450\",\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/bee71778-2b7f-43a5-ba6f-07ea397526e9\",\r\n \"name\": \"bee71778-2b7f-43a5-ba6f-07ea397526e9\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "941"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "683f2902-b8ed-4a92-aa55-f6d47e67aea8"
+ ],
+ "x-ms-client-request-id": [
+ "a41eeb21-935f-47f6-a5f9-4f54161fc634-2015-08-14 10:11:56Z-PS",
+ "a41eeb21-935f-47f6-a5f9-4f54161fc634-2015-08-14 10:11:56Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14972"
+ ],
+ "x-ms-correlation-request-id": [
+ "683f2902-b8ed-4a92-aa55-f6d47e67aea8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T101537Z:683f2902-b8ed-4a92-aa55-f6d47e67aea8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:15:36 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/bee71778-2b7f-43a5-ba6f-07ea397526e9?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmVlNzE3NzgtMmI3Zi00M2E1LWJhNmYtMDdlYTM5NzUyNmU5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "870a5c98-c94f-4779-94ac-1509d6aee02b-2015-08-14 10:15:37Z-PS"
+ ],
+ "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\": \"Cancelled\",\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\": \"Cancelled\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"0 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Cancelled\",\r\n \"startTimestamp\": \"2015-08-14T10:11:41.9796393Z\",\r\n \"endTimestamp\": \"2015-08-14T10:15:07.9019843Z\",\r\n \"duration\": \"00:03:25.9223450\",\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/bee71778-2b7f-43a5-ba6f-07ea397526e9\",\r\n \"name\": \"bee71778-2b7f-43a5-ba6f-07ea397526e9\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "941"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6d9b4c66-0051-4b7b-994e-f302b144abf7"
+ ],
+ "x-ms-client-request-id": [
+ "870a5c98-c94f-4779-94ac-1509d6aee02b-2015-08-14 10:15:37Z-PS",
+ "870a5c98-c94f-4779-94ac-1509d6aee02b-2015-08-14 10:15:37Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14971"
+ ],
+ "x-ms-correlation-request-id": [
+ "6d9b4c66-0051-4b7b-994e-f302b144abf7"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T101537Z:6d9b4c66-0051-4b7b-994e-f302b144abf7"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:15:37 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/bee71778-2b7f-43a5-ba6f-07ea397526e9/cancel?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmVlNzE3NzgtMmI3Zi00M2E1LWJhNmYtMDdlYTM5NzUyNmU5L2NhbmNlbD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "8713602c-925a-461a-a367-8db319b3dc08-2015-08-14 10:11:55Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"8a969a8a-b240-400d-a045-31a90be9b42c\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "df2fbc91-fa50-4295-bd07-b182c4662ba3"
+ ],
+ "x-ms-client-request-id": [
+ "8713602c-925a-461a-a367-8db319b3dc08-2015-08-14 10:11:55Z-PS",
+ "8713602c-925a-461a-a367-8db319b3dc08-2015-08-14 10:11:55Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999993"
+ ],
+ "x-ms-correlation-request-id": [
+ "df2fbc91-fa50-4295-bd07-b182c4662ba3"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T101155Z:df2fbc91-fa50-4295-bd07-b182c4662ba3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:11:54 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/8a969a8a-b240-400d-a045-31a90be9b42c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvOGE5NjlhOGEtYjI0MC00MDBkLWEwNDUtMzFhOTBiZTliNDJjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "8713602c-925a-461a-a367-8db319b3dc08-2015-08-14 10:11:55Z-PS"
+ ],
+ "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 \"bee71778-2b7f-43a5-ba6f-07ea397526e9\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a653b544-7b42-4b21-85b2-5c3182469e20"
+ ],
+ "x-ms-client-request-id": [
+ "8713602c-925a-461a-a367-8db319b3dc08-2015-08-14 10:11:55Z-PS",
+ "8713602c-925a-461a-a367-8db319b3dc08-2015-08-14 10:11:55Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14981"
+ ],
+ "x-ms-correlation-request-id": [
+ "a653b544-7b42-4b21-85b2-5c3182469e20"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T101156Z:a653b544-7b42-4b21-85b2-5c3182469e20"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:11:56 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyByNameTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyByNameTests.json
new file mode 100644
index 000000000000..745baf96cb2b
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyByNameTests.json
@@ -0,0 +1,187 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "564b34f1-8926-4a4a-b5d0-69e16462d292-2015-08-14 09:20:48Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14982"
+ ],
+ "x-ms-request-id": [
+ "0bcb6d55-4682-463f-9af2-d9539ae78070"
+ ],
+ "x-ms-correlation-request-id": [
+ "0bcb6d55-4682-463f-9af2-d9539ae78070"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092049Z:0bcb6d55-4682-463f-9af2-d9539ae78070"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:20:49 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "564b34f1-8926-4a4a-b5d0-69e16462d292-2015-08-14 09:20:48Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5c96adaa-84fc-4b06-8c22-38780d5c0e84"
+ ],
+ "x-ms-client-request-id": [
+ "564b34f1-8926-4a4a-b5d0-69e16462d292-2015-08-14 09:20:48Z-PS",
+ "564b34f1-8926-4a4a-b5d0-69e16462d292-2015-08-14 09:20:48Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14981"
+ ],
+ "x-ms-correlation-request-id": [
+ "5c96adaa-84fc-4b06-8c22-38780d5c0e84"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092051Z:5c96adaa-84fc-4b06-8c22-38780d5c0e84"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:20:50 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "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": [
+ "89e694df-6793-4a8f-8210-f85d8c0c15b2-2015-08-14 09:20:51Z-PS"
+ ],
+ "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\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/Policy10\",\r\n \"name\": \"Policy10\",\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": [
+ "2159"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e59893b1-b75a-4739-b921-f0958d17c049"
+ ],
+ "x-ms-client-request-id": [
+ "89e694df-6793-4a8f-8210-f85d8c0c15b2-2015-08-14 09:20:51Z-PS",
+ "89e694df-6793-4a8f-8210-f85d8c0c15b2-2015-08-14 09:20:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14987"
+ ],
+ "x-ms-correlation-request-id": [
+ "e59893b1-b75a-4739-b921-f0958d17c049"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092054Z:e59893b1-b75a-4739-b921-f0958d17c049"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:20:53 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyTests.json
new file mode 100644
index 000000000000..383411e5c14c
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/ListProtectionPolicyTests.json
@@ -0,0 +1,187 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "d6126626-ae80-4967-9667-e56034264b11-2015-08-14 09:22:24Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-request-id": [
+ "1baadc8d-0712-4111-aa87-8561e3721555"
+ ],
+ "x-ms-correlation-request-id": [
+ "1baadc8d-0712-4111-aa87-8561e3721555"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092225Z:1baadc8d-0712-4111-aa87-8561e3721555"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:22:25 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "d6126626-ae80-4967-9667-e56034264b11-2015-08-14 09:22:24Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2488786c-dd78-4e0f-8d7e-0e828aa7b811"
+ ],
+ "x-ms-client-request-id": [
+ "d6126626-ae80-4967-9667-e56034264b11-2015-08-14 09:22:24Z-PS",
+ "d6126626-ae80-4967-9667-e56034264b11-2015-08-14 09:22:24Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14988"
+ ],
+ "x-ms-correlation-request-id": [
+ "2488786c-dd78-4e0f-8d7e-0e828aa7b811"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092227Z:2488786c-dd78-4e0f-8d7e-0e828aa7b811"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:22:27 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "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": [
+ "2f6af140-972f-436f-9fdb-9a810ecc9c1f-2015-08-14 09:22:28Z-PS"
+ ],
+ "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\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/Policy10\",\r\n \"name\": \"Policy10\",\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": [
+ "2159"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5ba47ea2-3a39-4b15-b281-af12901c20f3"
+ ],
+ "x-ms-client-request-id": [
+ "2f6af140-972f-436f-9fdb-9a810ecc9c1f-2015-08-14 09:22:28Z-PS",
+ "2f6af140-972f-436f-9fdb-9a810ecc9c1f-2015-08-14 09:22:28Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "5ba47ea2-3a39-4b15-b281-af12901c20f3"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092230Z:5ba47ea2-3a39-4b15-b281-af12901c20f3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:22:29 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/NewProtectionPolicyTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/NewProtectionPolicyTests.json
new file mode 100644
index 000000000000..a5b9a98485cf
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/NewProtectionPolicyTests.json
@@ -0,0 +1,321 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "cd587ec7-9cbf-4a75-a833-f6b6da8958e0-2015-08-14 09:20:00Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14987"
+ ],
+ "x-ms-request-id": [
+ "dc18d4de-e702-4d82-8408-795ffb0d6473"
+ ],
+ "x-ms-correlation-request-id": [
+ "dc18d4de-e702-4d82-8408-795ffb0d6473"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092001Z:dc18d4de-e702-4d82-8408-795ffb0d6473"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:20:01 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "cd587ec7-9cbf-4a75-a833-f6b6da8958e0-2015-08-14 09:20:00Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5c069f3a-c2dc-438f-952e-43b15a8e2c0f"
+ ],
+ "x-ms-client-request-id": [
+ "cd587ec7-9cbf-4a75-a833-f6b6da8958e0-2015-08-14 09:20:00Z-PS",
+ "cd587ec7-9cbf-4a75-a833-f6b6da8958e0-2015-08-14 09:20:00Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-correlation-request-id": [
+ "5c069f3a-c2dc-438f-952e-43b15a8e2c0f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092003Z:5c069f3a-c2dc-438f-952e-43b15a8e2c0f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:20:03 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "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": [
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ ],
+ "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": [
+ "0909459f-103c-4bf0-a451-c7a1b17ab5d4"
+ ],
+ "x-ms-client-request-id": [
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS",
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "0909459f-103c-4bf0-a451-c7a1b17ab5d4"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092006Z:0909459f-103c-4bf0-a451-c7a1b17ab5d4"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:20:06 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/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ ],
+ "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\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/Policy10\",\r\n \"name\": \"Policy10\",\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": [
+ "2159"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a1222267-50bf-44b9-a3f8-504a2786a751"
+ ],
+ "x-ms-client-request-id": [
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS",
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-correlation-request-id": [
+ "a1222267-50bf-44b9-a3f8-504a2786a751"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092009Z:a1222267-50bf-44b9-a3f8-504a2786a751"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:20:09 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/protectionPolicies/Policy10?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qb2xpY3kxMD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"WorkloadType\": \"IaasVM\",\r\n \"PolicyName\": \"Policy10\",\r\n \"BackupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": [],\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"LTRRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": \"Weeks\"\r\n }\r\n }\r\n }\r\n },\r\n \"PolicyName\": \"Policy10\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "836"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ ],
+ "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": [
+ "14dfffe5-7a11-4884-bbb7-6ec1cb9e801c"
+ ],
+ "x-ms-client-request-id": [
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS",
+ "b5489d9c-c1ea-4677-ab4a-d0f4c4a184b2-2015-08-14 09:20:03Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999998"
+ ],
+ "x-ms-correlation-request-id": [
+ "14dfffe5-7a11-4884-bbb7-6ec1cb9e801c"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092008Z:14dfffe5-7a11-4884-bbb7-6ec1cb9e801c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:20: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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/RemoveProtectionPolicyTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/RemoveProtectionPolicyTests.json
new file mode 100644
index 000000000000..3089181936ed
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/RemoveProtectionPolicyTests.json
@@ -0,0 +1,309 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6af1a9be-1988-45be-a220-acd1dac59af1-2015-08-14 09:19:05Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-request-id": [
+ "ff2189d9-508c-4932-9388-99bfdcb62a10"
+ ],
+ "x-ms-correlation-request-id": [
+ "ff2189d9-508c-4932-9388-99bfdcb62a10"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T091907Z:ff2189d9-508c-4932-9388-99bfdcb62a10"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:19:06 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6af1a9be-1988-45be-a220-acd1dac59af1-2015-08-14 09:19:05Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "23daa7d0-e6d8-45ea-84ca-9cb792b5fbc8"
+ ],
+ "x-ms-client-request-id": [
+ "6af1a9be-1988-45be-a220-acd1dac59af1-2015-08-14 09:19:05Z-PS",
+ "6af1a9be-1988-45be-a220-acd1dac59af1-2015-08-14 09:19:05Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14983"
+ ],
+ "x-ms-correlation-request-id": [
+ "23daa7d0-e6d8-45ea-84ca-9cb792b5fbc8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T091908Z:23daa7d0-e6d8-45ea-84ca-9cb792b5fbc8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:19:08 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "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": [
+ "52b483d8-20db-4dcf-b8ec-ad1014e295c7-2015-08-14 09:19:09Z-PS"
+ ],
+ "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\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\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": [
+ "2159"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "72ef315f-7f33-4813-b509-ebb80fed354c"
+ ],
+ "x-ms-client-request-id": [
+ "52b483d8-20db-4dcf-b8ec-ad1014e295c7-2015-08-14 09:19:09Z-PS",
+ "52b483d8-20db-4dcf-b8ec-ad1014e295c7-2015-08-14 09:19:09Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-correlation-request-id": [
+ "72ef315f-7f33-4813-b509-ebb80fed354c"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T091911Z:72ef315f-7f33-4813-b509-ebb80fed354c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:19:11 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/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS"
+ ],
+ "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\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/Policy10\",\r\n \"name\": \"Policy10\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\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": [
+ "2159"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "0992e470-00b1-4587-91e8-3f40a047e9a5"
+ ],
+ "x-ms-client-request-id": [
+ "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS",
+ "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "0992e470-00b1-4587-91e8-3f40a047e9a5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T091912Z:0992e470-00b1-4587-91e8-3f40a047e9a5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:19:11 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/protectionPolicies/Policy10?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qb2xpY3kxMD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS"
+ ],
+ "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": [
+ "627e2039-97c8-4621-b6a4-443c780578b0"
+ ],
+ "x-ms-client-request-id": [
+ "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS",
+ "04a52037-2f0b-4eb2-9240-ccfd545b784a-2015-08-14 09:19:12Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999999"
+ ],
+ "x-ms-correlation-request-id": [
+ "627e2039-97c8-4621-b6a4-443c780578b0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T091914Z:627e2039-97c8-4621-b6a4-443c780578b0"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:19:13 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/SetProtectionPolicyTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/SetProtectionPolicyTests.json
new file mode 100644
index 000000000000..a738ed34d259
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupPolicyTests/SetProtectionPolicyTests.json
@@ -0,0 +1,385 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "4d61126f-fae5-44ad-9ff2-d2511734a3d5-2015-08-14 09:25:07Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-request-id": [
+ "9e581fad-4946-4366-97e5-c4596b0fb89b"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e581fad-4946-4366-97e5-c4596b0fb89b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092508Z:9e581fad-4946-4366-97e5-c4596b0fb89b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:25:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "4d61126f-fae5-44ad-9ff2-d2511734a3d5-2015-08-14 09:25:07Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 1774108198771083879,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "174514fa-0a6c-4681-87bd-b8758aa1cf72"
+ ],
+ "x-ms-client-request-id": [
+ "4d61126f-fae5-44ad-9ff2-d2511734a3d5-2015-08-14 09:25:07Z-PS",
+ "4d61126f-fae5-44ad-9ff2-d2511734a3d5-2015-08-14 09:25:07Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14994"
+ ],
+ "x-ms-correlation-request-id": [
+ "174514fa-0a6c-4681-87bd-b8758aa1cf72"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092510Z:174514fa-0a6c-4681-87bd-b8758aa1cf72"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:25:10 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "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": [
+ "f5b31b04-609d-4c88-8cc7-835dcb3b920a-2015-08-14 09:25:10Z-PS"
+ ],
+ "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\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/Policy10\",\r\n \"name\": \"Policy10\",\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": [
+ "2159"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "caab951a-739a-4cf5-b54e-30d48b298584"
+ ],
+ "x-ms-client-request-id": [
+ "f5b31b04-609d-4c88-8cc7-835dcb3b920a-2015-08-14 09:25:10Z-PS",
+ "f5b31b04-609d-4c88-8cc7-835dcb3b920a-2015-08-14 09:25:10Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-correlation-request-id": [
+ "caab951a-739a-4cf5-b54e-30d48b298584"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092513Z:caab951a-739a-4cf5-b54e-30d48b298584"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:25:12 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/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ ],
+ "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\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/Policy10\",\r\n \"name\": \"Policy10\",\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": [
+ "2159"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "9e70dabb-1a3a-4a33-9f1f-932d0058e9b6"
+ ],
+ "x-ms-client-request-id": [
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS",
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e70dabb-1a3a-4a33-9f1f-932d0058e9b6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092514Z:9e70dabb-1a3a-4a33-9f1f-932d0058e9b6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:25:14 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/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ ],
+ "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\": \"Policy10\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\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/Policy10\",\r\n \"name\": \"Policy10\",\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": [
+ "2159"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "dd6227c9-f1b3-4bb4-9e27-020b2bc5cd53"
+ ],
+ "x-ms-client-request-id": [
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS",
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-correlation-request-id": [
+ "dd6227c9-f1b3-4bb4-9e27-020b2bc5cd53"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092515Z:dd6227c9-f1b3-4bb4-9e27-020b2bc5cd53"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:25:15 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/protectionPolicies/Policy10?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9Qb2xpY3kxMD9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"policyName\": \"policy09-new\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": [],\r\n \"scheduleRunTimes\": [\r\n \"2015-06-13T20:30:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-06-13T20: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-06-13T20:30:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": \"Weeks\"\r\n }\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "780"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ ],
+ "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": [
+ "4dfeb940-ffb5-43a5-a94a-da58b7beae94"
+ ],
+ "x-ms-client-request-id": [
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS",
+ "06ee20b7-6c46-4c5a-bab3-c883e5e353ea-2015-08-14 09:25:13Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999999"
+ ],
+ "x-ms-correlation-request-id": [
+ "4dfeb940-ffb5-43a5-a94a-da58b7beae94"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T092517Z:4dfeb940-ffb5-43a5-a94a-da58b7beae94"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 09:25:16 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupScenarioTests/AzureBackupEndToEndTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupScenarioTests/AzureBackupEndToEndTests.json
new file mode 100644
index 000000000000..0b167f79fa2e
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupScenarioTests/AzureBackupEndToEndTests.json
@@ -0,0 +1,7221 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "PUT",
+ "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": [
+ "122"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"backuprn\",\r\n \"etag\": \"231a484e-8cf6-421c-86d5-145bbdae0714\",\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"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "d587b98a-cd0a-49ae-867f-5cf20f19d228"
+ ],
+ "x-ms-client-request-id": [
+ "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "d587b98a-cd0a-49ae-867f-5cf20f19d228"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053834Z:d587b98a-cd0a-49ae-867f-5cf20f19d228"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:33 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 8806790160982730560,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "408b28fc-d767-4986-9762-999a3c44e479"
+ ],
+ "x-ms-client-request-id": [
+ "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS",
+ "c7eae836-c6c6-42a5-94fc-63e1bdd111ca-2015-08-17 05:38:30Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "408b28fc-d767-4986-9762-999a3c44e479"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053835Z:408b28fc-d767-4986-9762-999a3c44e479"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:35 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "3f5e4d0a-16d5-471a-80bf-557b9febd0f7-2015-08-17 05:38:35Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"resourceId\": 8806790160982730560,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Locked\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "454c9964-0c58-489d-b40c-f500e6ad40a6"
+ ],
+ "x-ms-client-request-id": [
+ "3f5e4d0a-16d5-471a-80bf-557b9febd0f7-2015-08-17 05:38:35Z-PS",
+ "3f5e4d0a-16d5-471a-80bf-557b9febd0f7-2015-08-17 05:38:35Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-correlation-request-id": [
+ "454c9964-0c58-489d-b40c-f500e6ad40a6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053836Z:454c9964-0c58-489d-b40c-f500e6ad40a6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:36 GMT"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "3f5e4d0a-16d5-471a-80bf-557b9febd0f7-2015-08-17 05:38:35Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.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/bugbash1\",\r\n \"name\": \"bugbash1\",\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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "936"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-request-id": [
+ "ff10e625-816d-4acd-a34f-6c0c4b37f3ad"
+ ],
+ "x-ms-correlation-request-id": [
+ "ff10e625-816d-4acd-a34f-6c0c4b37f3ad"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053835Z:ff10e625-816d-4acd-a34f-6c0c4b37f3ad"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:35 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resources?$filter=resourceType%20eq%20'Microsoft.Backup/BackupVault'&$top=100&api-version=2013-03-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYWNrdXAvQmFja3VwVmF1bHQnJiR0b3A9MTAwJmFwaS12ZXJzaW9uPTIwMTMtMDMtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "be59b8c9-5b90-4afa-9757-178ef7a5b665-2015-08-17 06:33:38Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/bugbash1\",\r\n \"name\": \"bugbash1\",\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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-request-id": [
+ "b3e9063b-a1ab-41e8-bf57-0a5dbbd9c604"
+ ],
+ "x-ms-correlation-request-id": [
+ "b3e9063b-a1ab-41e8-bf57-0a5dbbd9c604"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063338Z:b3e9063b-a1ab-41e8-bf57-0a5dbbd9c604"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:33:38 GMT"
+ ]
+ },
+ "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=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
+ ],
+ "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 \"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"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "8fb08551-691a-4b2e-bd2b-a5994a04053b"
+ ],
+ "x-ms-client-request-id": [
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS",
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-correlation-request-id": [
+ "8fb08551-691a-4b2e-bd2b-a5994a04053b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053839Z:8fb08551-691a-4b2e-bd2b-a5994a04053b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:38 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/containers?api-version=2014-09-01&$filter=containerType%20eq%20'IaasVM'%20and%20friendlyName%20eq%20'hydrarecordvm'",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSYkZmlsdGVyPWNvbnRhaW5lclR5cGUlMjBlcSUyMCdJYWFzVk0nJTIwYW5kJTIwZnJpZW5kbHlOYW1lJTIwZXElMjAnaHlkcmFyZWNvcmR2bSc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "77ca9218-56ef-4cab-ab19-c9bb9bb6b1c2-2015-08-17 05:39:18Z-PS"
+ ],
+ "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 \"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}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "606"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e0c9da71-63c4-4771-a3ae-e0206d444987"
+ ],
+ "x-ms-client-request-id": [
+ "77ca9218-56ef-4cab-ab19-c9bb9bb6b1c2-2015-08-17 05:39:18Z-PS",
+ "77ca9218-56ef-4cab-ab19-c9bb9bb6b1c2-2015-08-17 05:39:18Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-correlation-request-id": [
+ "e0c9da71-63c4-4771-a3ae-e0206d444987"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053920Z:e0c9da71-63c4-4771-a3ae-e0206d444987"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:20 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/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
+ ],
+ "x-ms-version": [
+ "2013-03-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"91ff343f-2e98-43b1-8583-10d266f612ab\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7c7b18a4-5b20-4478-93c5-767e6b363a93"
+ ],
+ "x-ms-client-request-id": [
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS",
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "7c7b18a4-5b20-4478-93c5-767e6b363a93"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053840Z:7c7b18a4-5b20-4478-93c5-767e6b363a93"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:39 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/91ff343f-2e98-43b1-8583-10d266f612ab?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvOTFmZjM0M2YtMmU5OC00M2IxLTg1ODMtMTBkMjY2ZjYxMmFiP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"ab512e84-eca4-4028-aecf-1477898b68d1\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e010b10e-aada-4d7d-bbfe-efaf54ca1eea"
+ ],
+ "x-ms-client-request-id": [
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS",
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14994"
+ ],
+ "x-ms-correlation-request-id": [
+ "e010b10e-aada-4d7d-bbfe-efaf54ca1eea"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053841Z:e010b10e-aada-4d7d-bbfe-efaf54ca1eea"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:41 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/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
+ ],
+ "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 \"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-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:01.7361731\",\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/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "681"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "93b6f6f9-ef7b-4103-833b-0bec04df2c10"
+ ],
+ "x-ms-client-request-id": [
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS",
+ "5f8c984c-448a-432e-8d24-c93b7ee9bc24-2015-08-17 05:38:36Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-correlation-request-id": [
+ "93b6f6f9-ef7b-4103-833b-0bec04df2c10"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053841Z:93b6f6f9-ef7b-4103-833b-0bec04df2c10"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:41 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/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
+ ],
+ "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 \"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-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.5563104\",\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/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "681"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "35ff3e56-54b0-481f-a274-71d6f972a56a"
+ ],
+ "x-ms-client-request-id": [
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS",
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "35ff3e56-54b0-481f-a274-71d6f972a56a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053842Z:35ff3e56-54b0-481f-a274-71d6f972a56a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:38:42 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/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:01.8413768Z\",\r\n \"duration\": \"00:00:21.6385517\",\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/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "12ff5068-d0ad-4dd2-a0f4-9910357ee10e"
+ ],
+ "x-ms-client-request-id": [
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS",
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "12ff5068-d0ad-4dd2-a0f4-9910357ee10e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053913Z:12ff5068-d0ad-4dd2-a0f4-9910357ee10e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:12 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/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:01.8413768Z\",\r\n \"duration\": \"00:00:21.6385517\",\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/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "fea3880b-acf1-44d6-8bfe-8efb2d6cc621"
+ ],
+ "x-ms-client-request-id": [
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS",
+ "8df79974-954f-4a5e-9a3c-db67de1225d0-2015-08-17 05:38:42Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-correlation-request-id": [
+ "fea3880b-acf1-44d6-8bfe-8efb2d6cc621"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053914Z:fea3880b-acf1-44d6-8bfe-8efb2d6cc621"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:14 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/ab512e84-eca4-4028-aecf-1477898b68d1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYWI1MTJlODQtZWNhNC00MDI4LWFlY2YtMTQ3Nzg5OGI2OGQxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "f2ad7f83-c865-4c9f-8fac-dcbaad10aa96-2015-08-17 05:39:14Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:38:40.2028251Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:01.8413768Z\",\r\n \"duration\": \"00:00:21.6385517\",\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/ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"name\": \"ab512e84-eca4-4028-aecf-1477898b68d1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b56397cd-09cf-4df3-8c35-49240028724a"
+ ],
+ "x-ms-client-request-id": [
+ "f2ad7f83-c865-4c9f-8fac-dcbaad10aa96-2015-08-17 05:39:14Z-PS",
+ "f2ad7f83-c865-4c9f-8fac-dcbaad10aa96-2015-08-17 05:39:14Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-correlation-request-id": [
+ "b56397cd-09cf-4df3-8c35-49240028724a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053915Z:b56397cd-09cf-4df3-8c35-49240028724a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:14 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/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
+ ],
+ "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-17T05:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T05: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 \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "670"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ca0008d5-b031-4876-883a-2f1977308f1d"
+ ],
+ "x-ms-client-request-id": [
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS",
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14988"
+ ],
+ "x-ms-correlation-request-id": [
+ "ca0008d5-b031-4876-883a-2f1977308f1d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053916Z:ca0008d5-b031-4876-883a-2f1977308f1d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:15 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/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
+ ],
+ "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\": \"e2epolicy1\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00: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-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": {\r\n \"RetentionScheduleType\": 1,\r\n \"RetentionScheduleDaily\": {\r\n \"DaysOfTheMonth\": [\r\n {\r\n \"Date\": 10,\r\n \"IsLast\": false\r\n }\r\n ]\r\n },\r\n \"RetentionScheduleWeekly\": null,\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 3\r\n }\r\n },\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/e2epolicy1\",\r\n \"name\": \"e2epolicy1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\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-17T05:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T05: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 \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1636"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "cd1e339b-d487-4e58-97c2-e55fd4fd8ed8"
+ ],
+ "x-ms-client-request-id": [
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS",
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14987"
+ ],
+ "x-ms-correlation-request-id": [
+ "cd1e339b-d487-4e58-97c2-e55fd4fd8ed8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053918Z:cd1e339b-d487-4e58-97c2-e55fd4fd8ed8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:17 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/protectionPolicies?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS"
+ ],
+ "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\": \"e2epolicy1\",\r\n \"backupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": null,\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00: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-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 2\r\n }\r\n },\r\n \"MonthlySchedule\": {\r\n \"RetentionScheduleType\": 1,\r\n \"RetentionScheduleDaily\": {\r\n \"DaysOfTheMonth\": [\r\n {\r\n \"Date\": 10,\r\n \"IsLast\": false\r\n }\r\n ]\r\n },\r\n \"RetentionScheduleWeekly\": null,\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": 3\r\n }\r\n },\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/e2epolicy1\",\r\n \"name\": \"e2epolicy1\",\r\n \"type\": \"Microsoft.Backup/BackupVault/protectionPolicies\"\r\n },\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-17T05:00:00\"\r\n ]\r\n },\r\n \"ltrRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T05: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 \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1636"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b01a697e-6f54-4219-b54f-50f14e01bc7d"
+ ],
+ "x-ms-client-request-id": [
+ "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS",
+ "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14948"
+ ],
+ "x-ms-correlation-request-id": [
+ "b01a697e-6f54-4219-b54f-50f14e01bc7d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063331Z:b01a697e-6f54-4219-b54f-50f14e01bc7d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:33:31 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/protectionPolicies/e2epolicy1?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9lMmVwb2xpY3kxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"WorkloadType\": \"IaasVM\",\r\n \"PolicyName\": \"e2epolicy1\",\r\n \"BackupSchedule\": {\r\n \"backupType\": \"Full\",\r\n \"scheduleRun\": \"Daily\",\r\n \"scheduleRunDays\": [],\r\n \"scheduleRunTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ]\r\n },\r\n \"LTRRetentionPolicy\": {\r\n \"DailySchedule\": {\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00: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-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": \"Weeks\"\r\n }\r\n },\r\n \"MonthlySchedule\": {\r\n \"RetentionScheduleType\": \"Daily\",\r\n \"RetentionScheduleDaily\": {\r\n \"DaysOfTheMonth\": [\r\n {\r\n \"Date\": 10,\r\n \"IsLast\": false\r\n }\r\n ]\r\n },\r\n \"RetentionTimes\": [\r\n \"2015-08-17T10:00:00\"\r\n ],\r\n \"CSMRetentionDuration\": {\r\n \"Count\": 10,\r\n \"DurationType\": \"Months\"\r\n }\r\n }\r\n }\r\n },\r\n \"PolicyName\": \"e2epolicy1\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "1282"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
+ ],
+ "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": [
+ "98655805-9233-4b3d-bb86-e0d203e5815e"
+ ],
+ "x-ms-client-request-id": [
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS",
+ "859aaabb-4140-4945-9ffa-7e9292021d47-2015-08-17 05:39:15Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "98655805-9233-4b3d-bb86-e0d203e5815e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053917Z:98655805-9233-4b3d-bb86-e0d203e5815e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:16 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/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/e2epolicy1\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "201"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"0c6ec4f1-3c02-499d-b0ce-03c4b6d19df0\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b0378e0d-5a53-4da9-a48b-223472b79f64"
+ ],
+ "x-ms-client-request-id": [
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS",
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "b0378e0d-5a53-4da9-a48b-223472b79f64"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053922Z:b0378e0d-5a53-4da9-a48b-223472b79f64"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:21 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/0c6ec4f1-3c02-499d-b0ce-03c4b6d19df0?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMGM2ZWM0ZjEtM2MwMi00OTlkLWIwY2UtMDNjNGI2ZDE5ZGYwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"45afe37c-d57f-45b6-bfd6-df4e176ec149\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7551607e-a758-4515-909d-0b202aab699e"
+ ],
+ "x-ms-client-request-id": [
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS",
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-correlation-request-id": [
+ "7551607e-a758-4515-909d-0b202aab699e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053923Z:7551607e-a758-4515-909d-0b202aab699e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:23 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/0c6ec4f1-3c02-499d-b0ce-03c4b6d19df0?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMGM2ZWM0ZjEtM2MwMi00OTlkLWIwY2UtMDNjNGI2ZDE5ZGYwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
+ ],
+ "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 \"45afe37c-d57f-45b6-bfd6-df4e176ec149\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "faec9259-5775-48d1-9fe0-c8be6465aeeb"
+ ],
+ "x-ms-client-request-id": [
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS",
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-correlation-request-id": [
+ "faec9259-5775-48d1-9fe0-c8be6465aeeb"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053933Z:faec9259-5775-48d1-9fe0-c8be6465aeeb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:33 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/45afe37c-d57f-45b6-bfd6-df4e176ec149?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDVhZmUzN2MtZDU3Zi00NWI2LWJmZDYtZGY0ZTE3NmVjMTQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
+ ],
+ "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 \"Policy Name\": \"e2epolicy1\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:39:22.1988856Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:24.9825351Z\",\r\n \"duration\": \"00:00:02.7836495\",\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/45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"name\": \"45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "690"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "58e8146e-1e1d-4784-b7e2-6d6edc5f628f"
+ ],
+ "x-ms-client-request-id": [
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS",
+ "e510dae4-ad9c-4643-8721-b9bc8323edb4-2015-08-17 05:39:20Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14983"
+ ],
+ "x-ms-correlation-request-id": [
+ "58e8146e-1e1d-4784-b7e2-6d6edc5f628f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053934Z:58e8146e-1e1d-4784-b7e2-6d6edc5f628f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:34 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/45afe37c-d57f-45b6-bfd6-df4e176ec149?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDVhZmUzN2MtZDU3Zi00NWI2LWJmZDYtZGY0ZTE3NmVjMTQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS"
+ ],
+ "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 \"Policy Name\": \"e2epolicy1\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:39:22.1988856Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:24.9825351Z\",\r\n \"duration\": \"00:00:02.7836495\",\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/45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"name\": \"45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "690"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "06347f01-5e8e-4d79-aa08-31a9c4b9c8b0"
+ ],
+ "x-ms-client-request-id": [
+ "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS",
+ "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14982"
+ ],
+ "x-ms-correlation-request-id": [
+ "06347f01-5e8e-4d79-aa08-31a9c4b9c8b0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053936Z:06347f01-5e8e-4d79-aa08-31a9c4b9c8b0"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:36 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/45afe37c-d57f-45b6-bfd6-df4e176ec149?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDVhZmUzN2MtZDU3Zi00NWI2LWJmZDYtZGY0ZTE3NmVjMTQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS"
+ ],
+ "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 \"Policy Name\": \"e2epolicy1\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:39:22.1988856Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:24.9825351Z\",\r\n \"duration\": \"00:00:02.7836495\",\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/45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"name\": \"45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "690"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c8010b8e-2236-4180-9731-ddb5ed30d4f4"
+ ],
+ "x-ms-client-request-id": [
+ "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS",
+ "8568e34c-5c72-42e0-b5f3-8c64ca6a192f-2015-08-17 05:39:35Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14981"
+ ],
+ "x-ms-correlation-request-id": [
+ "c8010b8e-2236-4180-9731-ddb5ed30d4f4"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053937Z:c8010b8e-2236-4180-9731-ddb5ed30d4f4"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:36 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/45afe37c-d57f-45b6-bfd6-df4e176ec149?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNDVhZmUzN2MtZDU3Zi00NWI2LWJmZDYtZGY0ZTE3NmVjMTQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "d8d3f4a5-354d-4706-8652-6f8aafb6f31f-2015-08-17 05:39:37Z-PS"
+ ],
+ "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 \"Policy Name\": \"e2epolicy1\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:39:22.1988856Z\",\r\n \"endTimestamp\": \"2015-08-17T05:39:24.9825351Z\",\r\n \"duration\": \"00:00:02.7836495\",\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/45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"name\": \"45afe37c-d57f-45b6-bfd6-df4e176ec149\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "690"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "04efb9f5-6e8c-4628-a2a6-0ed2eeadb537"
+ ],
+ "x-ms-client-request-id": [
+ "d8d3f4a5-354d-4706-8652-6f8aafb6f31f-2015-08-17 05:39:37Z-PS",
+ "d8d3f4a5-354d-4706-8652-6f8aafb6f31f-2015-08-17 05:39:37Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14980"
+ ],
+ "x-ms-correlation-request-id": [
+ "04efb9f5-6e8c-4628-a2a6-0ed2eeadb537"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053937Z:04efb9f5-6e8c-4628-a2a6-0ed2eeadb537"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:37 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/protectedItems?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3RlZEl0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS"
+ ],
+ "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/e2epolicy1\",\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": [
+ "1175"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "f54612e3-c591-4744-b4f2-1c3556f609c6"
+ ],
+ "x-ms-client-request-id": [
+ "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS",
+ "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14979"
+ ],
+ "x-ms-correlation-request-id": [
+ "f54612e3-c591-4744-b4f2-1c3556f609c6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053938Z:f54612e3-c591-4744-b4f2-1c3556f609c6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:38 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/protectedItems?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3RlZEl0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"protectionStatus\": \"Protected\",\r\n \"protectionPolicyId\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer;hydrarecordvm;hydrarecordvm/protectedItems/e2epolicy1\",\r\n \"policyInconsistent\": true,\r\n \"recoveryPointsCount\": 1,\r\n \"lastRecoveryPoint\": \"2015-08-17T05:52:42.1219964Z\",\r\n \"lastBackupTime\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"lastBackupStatus\": \"Completed\",\r\n \"lastBackupJobId\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\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": [
+ "1268"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "216776ab-d270-46a0-9885-f0434fff7f21"
+ ],
+ "x-ms-client-request-id": [
+ "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS",
+ "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-correlation-request-id": [
+ "216776ab-d270-46a0-9885-f0434fff7f21"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060612Z:216776ab-d270-46a0-9885-f0434fff7f21"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:12 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/items?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2l0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS"
+ ],
+ "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": [
+ "46115179-2690-41e5-99e9-758db058a954"
+ ],
+ "x-ms-client-request-id": [
+ "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS",
+ "fb9d1c50-75bc-4dec-92a6-d5f254088525-2015-08-17 05:39:38Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14978"
+ ],
+ "x-ms-correlation-request-id": [
+ "46115179-2690-41e5-99e9-758db058a954"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T053939Z:46115179-2690-41e5-99e9-758db058a954"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:39:38 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/items?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2l0ZW1zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS"
+ ],
+ "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": [
+ "b66dca61-02e9-499d-a281-e3043af8dc27"
+ ],
+ "x-ms-client-request-id": [
+ "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS",
+ "e457a268-7b2c-4012-910e-e1c8332b7f32-2015-08-17 06:06:12Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-correlation-request-id": [
+ "b66dca61-02e9-499d-a281-e3043af8dc27"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060613Z:b66dca61-02e9-499d-a281-e3043af8dc27"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:12 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/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": [
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"10028400-4e78-43ee-b5cc-5d116824d98b\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "051d6c91-8bec-4972-ac51-52ad7d983e9d"
+ ],
+ "x-ms-client-request-id": [
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS",
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "051d6c91-8bec-4972-ac51-52ad7d983e9d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055043Z:051d6c91-8bec-4972-ac51-52ad7d983e9d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:50:43 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/10028400-4e78-43ee-b5cc-5d116824d98b?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMTAwMjg0MDAtNGU3OC00M2VlLWI1Y2MtNWQxMTY4MjRkOThiP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "69"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "27554f0f-1d97-4385-9bc8-3eb1ff75078a"
+ ],
+ "x-ms-client-request-id": [
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS",
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-correlation-request-id": [
+ "27554f0f-1d97-4385-9bc8-3eb1ff75078a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055044Z:27554f0f-1d97-4385-9bc8-3eb1ff75078a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:50:44 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/10028400-4e78-43ee-b5cc-5d116824d98b?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMTAwMjg0MDAtNGU3OC00M2VlLWI1Y2MtNWQxMTY4MjRkOThiP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
+ ],
+ "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 \"bddc4349-d0b9-4ff0-9951-cba389d3a246\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "261905dc-8693-45e6-8ae9-627d3d6cc621"
+ ],
+ "x-ms-client-request-id": [
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS",
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-correlation-request-id": [
+ "261905dc-8693-45e6-8ae9-627d3d6cc621"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055055Z:261905dc-8693-45e6-8ae9-627d3d6cc621"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:50:54 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:13.1691257\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "919"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a963f352-e5c1-4702-acc8-77353fb1bc35"
+ ],
+ "x-ms-client-request-id": [
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS",
+ "83803a2d-8917-4860-ae49-15332b536430-2015-08-17 05:50:40Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-correlation-request-id": [
+ "a963f352-e5c1-4702-acc8-77353fb1bc35"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055056Z:a963f352-e5c1-4702-acc8-77353fb1bc35"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:50:56 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:14.3197154\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "919"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ea79fbc6-6761-4f71-b9fe-cb520061dce6"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14983"
+ ],
+ "x-ms-correlation-request-id": [
+ "ea79fbc6-6761-4f71-b9fe-cb520061dce6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055057Z:ea79fbc6-6761-4f71-b9fe-cb520061dce6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:50:57 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:08.9100505\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "919"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e291f7f7-bee0-45a3-9368-b33c1afe1d68"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14977"
+ ],
+ "x-ms-correlation-request-id": [
+ "e291f7f7-bee0-45a3-9368-b33c1afe1d68"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055152Z:e291f7f7-bee0-45a3-9368-b33c1afe1d68"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:51:52 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:40.1794383\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "919"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6e298c46-68de-44bd-9049-91a0f73dfa6b"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14976"
+ ],
+ "x-ms-correlation-request-id": [
+ "6e298c46-68de-44bd-9049-91a0f73dfa6b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055223Z:6e298c46-68de-44bd-9049-91a0f73dfa6b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:52:23 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:11.6156434\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "919"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "49fa3b62-85c4-4805-8936-d9248fcfbd02"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14975"
+ ],
+ "x-ms-correlation-request-id": [
+ "49fa3b62-85c4-4805-8936-d9248fcfbd02"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055255Z:49fa3b62-85c4-4805-8936-d9248fcfbd02"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:52:54 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:43.0200962\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "919"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "dd0aa899-88ea-44dd-8b7c-83f69edc2475"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14974"
+ ],
+ "x-ms-correlation-request-id": [
+ "dd0aa899-88ea-44dd-8b7c-83f69edc2475"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055326Z:dd0aa899-88ea-44dd-8b7c-83f69edc2475"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:53:26 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:03:14.2460878\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "919"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1a57a003-7f71-4423-b4ee-4b4f80009fd5"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14973"
+ ],
+ "x-ms-correlation-request-id": [
+ "1a57a003-7f71-4423-b4ee-4b4f80009fd5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055357Z:1a57a003-7f71-4423-b4ee-4b4f80009fd5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:53:57 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:03:45.4978621\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1076"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "8218bf55-2d08-42ee-ad0c-b0e4be071f11"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14972"
+ ],
+ "x-ms-correlation-request-id": [
+ "8218bf55-2d08-42ee-ad0c-b0e4be071f11"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055429Z:8218bf55-2d08-42ee-ad0c-b0e4be071f11"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:54:29 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:04:16.7880435\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "188e8a7a-7a55-4f64-9b1f-6126b4af3be7"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14971"
+ ],
+ "x-ms-correlation-request-id": [
+ "188e8a7a-7a55-4f64-9b1f-6126b4af3be7"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055500Z:188e8a7a-7a55-4f64-9b1f-6126b4af3be7"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:55:00 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:04:48.1650150\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "8adcb97a-fb5e-44c7-ac56-01e3db67840a"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14970"
+ ],
+ "x-ms-correlation-request-id": [
+ "8adcb97a-fb5e-44c7-ac56-01e3db67840a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055531Z:8adcb97a-fb5e-44c7-ac56-01e3db67840a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:55:31 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:05:19.4660333\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ceb162cf-0607-47be-a90d-1a3cc2b37591"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14969"
+ ],
+ "x-ms-correlation-request-id": [
+ "ceb162cf-0607-47be-a90d-1a3cc2b37591"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055603Z:ceb162cf-0607-47be-a90d-1a3cc2b37591"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:56:02 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:05:50.6921638\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "3ab06e37-20fc-4ae1-9925-60e8fe759907"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14968"
+ ],
+ "x-ms-correlation-request-id": [
+ "3ab06e37-20fc-4ae1-9925-60e8fe759907"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055634Z:3ab06e37-20fc-4ae1-9925-60e8fe759907"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:56:34 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:06:21.9077274\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a20d2b33-265c-4d62-ae86-e801fcd462f8"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14967"
+ ],
+ "x-ms-correlation-request-id": [
+ "a20d2b33-265c-4d62-ae86-e801fcd462f8"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055705Z:a20d2b33-265c-4d62-ae86-e801fcd462f8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:57:04 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:06:53.1576542\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "12e4c743-bfe1-412e-a5d9-7e455f0e9274"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14966"
+ ],
+ "x-ms-correlation-request-id": [
+ "12e4c743-bfe1-412e-a5d9-7e455f0e9274"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055736Z:12e4c743-bfe1-412e-a5d9-7e455f0e9274"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:57:36 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:07:24.4859149\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "85d98b50-de1c-4d9a-9d0f-9603dfb09c63"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14965"
+ ],
+ "x-ms-correlation-request-id": [
+ "85d98b50-de1c-4d9a-9d0f-9603dfb09c63"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055808Z:85d98b50-de1c-4d9a-9d0f-9603dfb09c63"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:58:08 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:07:55.8863365\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "8461ca01-a922-4fca-9be8-530e5696c262"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14964"
+ ],
+ "x-ms-correlation-request-id": [
+ "8461ca01-a922-4fca-9be8-530e5696c262"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055839Z:8461ca01-a922-4fca-9be8-530e5696c262"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:58:39 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:08:27.2375978\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "800c21e8-39e7-40c0-a0c9-823b5cd36be6"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14963"
+ ],
+ "x-ms-correlation-request-id": [
+ "800c21e8-39e7-40c0-a0c9-823b5cd36be6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055911Z:800c21e8-39e7-40c0-a0c9-823b5cd36be6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:59:10 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:08:58.6740147\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "904cad53-ead1-4ff8-b350-2401af2ffd23"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14962"
+ ],
+ "x-ms-correlation-request-id": [
+ "904cad53-ead1-4ff8-b350-2401af2ffd23"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T055942Z:904cad53-ead1-4ff8-b350-2401af2ffd23"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 05:59:42 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:09:29.9420354\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4787bb21-cf8b-47c8-8897-b8e6e699981f"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14961"
+ ],
+ "x-ms-correlation-request-id": [
+ "4787bb21-cf8b-47c8-8897-b8e6e699981f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060014Z:4787bb21-cf8b-47c8-8897-b8e6e699981f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:00:14 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:10:02.0283870\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "fc9f376d-e41d-4262-910e-bb50b6215ca2"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14960"
+ ],
+ "x-ms-correlation-request-id": [
+ "fc9f376d-e41d-4262-910e-bb50b6215ca2"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060045Z:fc9f376d-e41d-4262-910e-bb50b6215ca2"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:00:45 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:10:33.5538363\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7123a1cb-c8fb-4320-a380-e7b3fd122ed6"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14959"
+ ],
+ "x-ms-correlation-request-id": [
+ "7123a1cb-c8fb-4320-a380-e7b3fd122ed6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060117Z:7123a1cb-c8fb-4320-a380-e7b3fd122ed6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:01:16 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:11:04.8426978\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7ffea935-c2b8-4655-879d-b7e27a6f2af0"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14958"
+ ],
+ "x-ms-correlation-request-id": [
+ "7ffea935-c2b8-4655-879d-b7e27a6f2af0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060148Z:7ffea935-c2b8-4655-879d-b7e27a6f2af0"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:01:48 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:11:36.2310118\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c29a4290-d647-4df7-8e94-0748a295446f"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14957"
+ ],
+ "x-ms-correlation-request-id": [
+ "c29a4290-d647-4df7-8e94-0748a295446f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060219Z:c29a4290-d647-4df7-8e94-0748a295446f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:02:19 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:12:07.5517918\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a4e40669-1b9a-4f2c-987e-a8e38d7432d5"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14956"
+ ],
+ "x-ms-correlation-request-id": [
+ "a4e40669-1b9a-4f2c-987e-a8e38d7432d5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060251Z:a4e40669-1b9a-4f2c-987e-a8e38d7432d5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:02:50 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:12:38.8991188\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "319c436f-6a8f-4a72-be1d-d25043d61b9e"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14955"
+ ],
+ "x-ms-correlation-request-id": [
+ "319c436f-6a8f-4a72-be1d-d25043d61b9e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060322Z:319c436f-6a8f-4a72-be1d-d25043d61b9e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:03:22 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:13:10.2871440\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e633a203-2079-4f94-8f8f-f3f20b31902f"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14954"
+ ],
+ "x-ms-correlation-request-id": [
+ "e633a203-2079-4f94-8f8f-f3f20b31902f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060353Z:e633a203-2079-4f94-8f8f-f3f20b31902f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:03:53 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:13:41.6188257\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ed009648-e2ae-4dbd-9383-bc58caf24685"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14953"
+ ],
+ "x-ms-correlation-request-id": [
+ "ed009648-e2ae-4dbd-9383-bc58caf24685"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060425Z:ed009648-e2ae-4dbd-9383-bc58caf24685"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:04:24 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"InProgress\",\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\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:14:17.9585248\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1075"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2d1596ef-de68-4087-9128-30118928d106"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14952"
+ ],
+ "x-ms-correlation-request-id": [
+ "2d1596ef-de68-4087-9128-30118928d106"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060501Z:2d1596ef-de68-4087-9128-30118928d106"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:05:00 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"Completed\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"10678 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2015-08-17T06:05:39.4249697Z\",\r\n \"duration\": \"00:14:55.6905084\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "0fe01e2b-4734-4f14-9f72-08fae05c2072"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-correlation-request-id": [
+ "0fe01e2b-4734-4f14-9f72-08fae05c2072"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060609Z:0fe01e2b-4734-4f14-9f72-08fae05c2072"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:09 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"Completed\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"10678 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2015-08-17T06:05:39.4249697Z\",\r\n \"duration\": \"00:14:55.6905084\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "bb363f31-9696-4de2-b87e-faa1829c0f09"
+ ],
+ "x-ms-client-request-id": [
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS",
+ "5043e368-41da-4594-883a-47aaaaab6741-2015-08-17 05:50:57Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14988"
+ ],
+ "x-ms-correlation-request-id": [
+ "bb363f31-9696-4de2-b87e-faa1829c0f09"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060610Z:bb363f31-9696-4de2-b87e-faa1829c0f09"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:09 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/bddc4349-d0b9-4ff0-9951-cba389d3a246?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvYmRkYzQzNDktZDBiOS00ZmYwLTk5NTEtY2JhMzg5ZDNhMjQ2P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1f2b66ec-4312-4bfb-8521-41d40a1f4967-2015-08-17 06:06:11Z-PS"
+ ],
+ "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\": \"Completed\",\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\": \"Completed\",\r\n \"progressPercentage\": null\r\n }\r\n ],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Backup Size\": \"10678 MB\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": \"The following set of VSS writers failed during snapshot - System Writer,ASR Writer,WMI Writer,Registry Writer,Shadow Copy Optimization Writer,COM+ REGDB Writer\",\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T05:50:43.7344613Z\",\r\n \"endTimestamp\": \"2015-08-17T06:05:39.4249697Z\",\r\n \"duration\": \"00:14:55.6905084\",\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/bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"name\": \"bddc4349-d0b9-4ff0-9951-cba389d3a246\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2572b3cc-96fe-4584-af29-7d12c7d6e6db"
+ ],
+ "x-ms-client-request-id": [
+ "1f2b66ec-4312-4bfb-8521-41d40a1f4967-2015-08-17 06:06:11Z-PS",
+ "1f2b66ec-4312-4bfb-8521-41d40a1f4967-2015-08-17 06:06:11Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14987"
+ ],
+ "x-ms-correlation-request-id": [
+ "2572b3cc-96fe-4584-af29-7d12c7d6e6db"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060611Z:2572b3cc-96fe-4584-af29-7d12c7d6e6db"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:11 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/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": [
+ "aa2c3cce-73e3-4a83-9c53-e7d0723af30d-2015-08-17 06:06:13Z-PS"
+ ],
+ "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-17T05:52:42.1219964Z\",\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/15783492110316\",\r\n \"name\": \"15783492110316\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems/recoveryPoints\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "569"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7434871e-ec32-41cb-97a6-7ae2c2cd7a9d"
+ ],
+ "x-ms-client-request-id": [
+ "aa2c3cce-73e3-4a83-9c53-e7d0723af30d-2015-08-17 06:06:13Z-PS",
+ "aa2c3cce-73e3-4a83-9c53-e7d0723af30d-2015-08-17 06:06:13Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-correlation-request-id": [
+ "7434871e-ec32-41cb-97a6-7ae2c2cd7a9d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060614Z:7434871e-ec32-41cb-97a6-7ae2c2cd7a9d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:14 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/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/recoveryPoints/15783492110316/restore?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3JlY292ZXJ5UG9pbnRzLzE1NzgzNDkyMTEwMzE2L3Jlc3RvcmU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"typeOfRecovery\": \"RestoreDisks\",\r\n \"recoveryDSTypeSpecificInputs\": \"{\\\"AffinityGroup\\\":\\\"\\\",\\\"CloudServiceName\\\":\\\"\\\",\\\"ContinueProtection\\\":false,\\\"CreateNewCloudService\\\":false,\\\"InputStorageAccountName\\\":\\\"e2estore\\\",\\\"Region\\\":\\\"southeastasia\\\",\\\"SubNetName\\\":null,\\\"TargetVNet\\\":null,\\\"VmName\\\":\\\"\\\"}\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "344"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"1ea8ad6f-2d56-444f-976c-8232287f17f1\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "9ce06d32-b50f-40e4-8a5e-1145125aff07"
+ ],
+ "x-ms-client-request-id": [
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS",
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "9ce06d32-b50f-40e4-8a5e-1145125aff07"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060615Z:9ce06d32-b50f-40e4-8a5e-1145125aff07"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:15 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/1ea8ad6f-2d56-444f-976c-8232287f17f1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMWVhOGFkNmYtMmQ1Ni00NDRmLTk3NmMtODIzMjI4N2YxN2YxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "69"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1782a3b5-5c8f-4af4-b5b0-94810697bdfa"
+ ],
+ "x-ms-client-request-id": [
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS",
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14983"
+ ],
+ "x-ms-correlation-request-id": [
+ "1782a3b5-5c8f-4af4-b5b0-94810697bdfa"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060616Z:1782a3b5-5c8f-4af4-b5b0-94810697bdfa"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:16 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/1ea8ad6f-2d56-444f-976c-8232287f17f1?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMWVhOGFkNmYtMmQ1Ni00NDRmLTk3NmMtODIzMjI4N2YxN2YxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
+ ],
+ "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 \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "852a61b4-4126-424c-bb59-6c4615e520d4"
+ ],
+ "x-ms-client-request-id": [
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS",
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14982"
+ ],
+ "x-ms-correlation-request-id": [
+ "852a61b4-4126-424c-bb59-6c4615e520d4"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060627Z:852a61b4-4126-424c-bb59-6c4615e520d4"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:27 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:13.2618203\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5b003d1a-6819-44c3-820e-0bf954fe90cf"
+ ],
+ "x-ms-client-request-id": [
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS",
+ "c748a14b-5d72-4243-8bf4-8ce62188fc0b-2015-08-17 06:06:14Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14981"
+ ],
+ "x-ms-correlation-request-id": [
+ "5b003d1a-6819-44c3-820e-0bf954fe90cf"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060628Z:5b003d1a-6819-44c3-820e-0bf954fe90cf"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:28 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:14.3946026\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a7513923-1812-4a62-a91b-e4ef42612e32"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14980"
+ ],
+ "x-ms-correlation-request-id": [
+ "a7513923-1812-4a62-a91b-e4ef42612e32"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060630Z:a7513923-1812-4a62-a91b-e4ef42612e32"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:06:30 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:06.4626910\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "69942c46-071e-4062-966a-c3770fc2250b"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-correlation-request-id": [
+ "69942c46-071e-4062-966a-c3770fc2250b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060722Z:69942c46-071e-4062-966a-c3770fc2250b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:07:22 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:37.6875076\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c9be5c95-62eb-4aed-afa5-8469a9e4ea0a"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14988"
+ ],
+ "x-ms-correlation-request-id": [
+ "c9be5c95-62eb-4aed-afa5-8469a9e4ea0a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060753Z:c9be5c95-62eb-4aed-afa5-8469a9e4ea0a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:07:53 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:08.8777955\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b8762111-dc45-416d-95e7-357853d2845d"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14987"
+ ],
+ "x-ms-correlation-request-id": [
+ "b8762111-dc45-416d-95e7-357853d2845d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060824Z:b8762111-dc45-416d-95e7-357853d2845d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:08:24 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:40.2400185\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6f346400-8cb8-49ae-a368-ee286907c60d"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-correlation-request-id": [
+ "6f346400-8cb8-49ae-a368-ee286907c60d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060855Z:6f346400-8cb8-49ae-a368-ee286907c60d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:08: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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:03:11.5131664\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "fa565f82-bf4d-4428-8e09-3b2940b63fcf"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-correlation-request-id": [
+ "fa565f82-bf4d-4428-8e09-3b2940b63fcf"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060927Z:fa565f82-bf4d-4428-8e09-3b2940b63fcf"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:09:27 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:03:42.8074135\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "dd3866ae-fc4d-4740-b92e-771b59439b07"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-correlation-request-id": [
+ "dd3866ae-fc4d-4740-b92e-771b59439b07"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T060958Z:dd3866ae-fc4d-4740-b92e-771b59439b07"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:09:58 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:04:14.0451842\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5e960fd7-4cda-484c-b12a-19184fbd6c65"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14983"
+ ],
+ "x-ms-correlation-request-id": [
+ "5e960fd7-4cda-484c-b12a-19184fbd6c65"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061029Z:5e960fd7-4cda-484c-b12a-19184fbd6c65"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:10:29 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:04:45.4148417\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "14b905f4-4de2-49f6-b51e-ba79d4bf3299"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14982"
+ ],
+ "x-ms-correlation-request-id": [
+ "14b905f4-4de2-49f6-b51e-ba79d4bf3299"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061101Z:14b905f4-4de2-49f6-b51e-ba79d4bf3299"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:11:01 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:05:16.6967242\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "777a0cdf-f406-441c-ba12-1006dde90c78"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14981"
+ ],
+ "x-ms-correlation-request-id": [
+ "777a0cdf-f406-441c-ba12-1006dde90c78"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061132Z:777a0cdf-f406-441c-ba12-1006dde90c78"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:11: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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:05:47.9546662\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "2239b42d-5d5c-4d3b-8585-e56f237c6237"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14980"
+ ],
+ "x-ms-correlation-request-id": [
+ "2239b42d-5d5c-4d3b-8585-e56f237c6237"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061203Z:2239b42d-5d5c-4d3b-8585-e56f237c6237"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:12: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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:06:19.1585811\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6d7f7468-18c2-483c-9ce9-459a51dd308b"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14979"
+ ],
+ "x-ms-correlation-request-id": [
+ "6d7f7468-18c2-483c-9ce9-459a51dd308b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061234Z:6d7f7468-18c2-483c-9ce9-459a51dd308b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:12:34 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:06:50.3964636\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "82d6bc95-bde7-4c67-9ec3-f7da2d371cc5"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14978"
+ ],
+ "x-ms-correlation-request-id": [
+ "82d6bc95-bde7-4c67-9ec3-f7da2d371cc5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061306Z:82d6bc95-bde7-4c67-9ec3-f7da2d371cc5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:13:05 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:07:21.6250840\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "fe1e6e12-fcd1-4582-ab3c-87aaf5a8b3ae"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14977"
+ ],
+ "x-ms-correlation-request-id": [
+ "fe1e6e12-fcd1-4582-ab3c-87aaf5a8b3ae"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061337Z:fe1e6e12-fcd1-4582-ab3c-87aaf5a8b3ae"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:13:36 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:07:52.9547000\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b6c92a5d-f96a-4c3b-ad00-b3e8ee07e39d"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14976"
+ ],
+ "x-ms-correlation-request-id": [
+ "b6c92a5d-f96a-4c3b-ad00-b3e8ee07e39d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061408Z:b6c92a5d-f96a-4c3b-ad00-b3e8ee07e39d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:14:08 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:08:24.1434922\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "51408c8e-94b8-49e6-9738-d661fda2c1d6"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14975"
+ ],
+ "x-ms-correlation-request-id": [
+ "51408c8e-94b8-49e6-9738-d661fda2c1d6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061439Z:51408c8e-94b8-49e6-9738-d661fda2c1d6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:14:39 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:08:57.4990907\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "eb1fdf23-5d0c-41c1-bf76-5dff9d2d52e7"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "eb1fdf23-5d0c-41c1-bf76-5dff9d2d52e7"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061513Z:eb1fdf23-5d0c-41c1-bf76-5dff9d2d52e7"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:15:12 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:10:01.8232840\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "bf21b20c-657f-4bde-b6c2-5ba26486d406"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14951"
+ ],
+ "x-ms-correlation-request-id": [
+ "bf21b20c-657f-4bde-b6c2-5ba26486d406"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061617Z:bf21b20c-657f-4bde-b6c2-5ba26486d406"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:16:17 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:11:07.7888674\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4ef9fb2c-8eee-4d40-9068-bf785ae48866"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14982"
+ ],
+ "x-ms-correlation-request-id": [
+ "4ef9fb2c-8eee-4d40-9068-bf785ae48866"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061723Z:4ef9fb2c-8eee-4d40-9068-bf785ae48866"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:17:22 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:11:39.0306993\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "24ecc055-85d8-474c-abb3-5c131b012707"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14981"
+ ],
+ "x-ms-correlation-request-id": [
+ "24ecc055-85d8-474c-abb3-5c131b012707"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061754Z:24ecc055-85d8-474c-abb3-5c131b012707"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:17:54 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:12:10.3043175\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "6748c3f8-ccb2-41b2-969c-6f1e849bfddd"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14980"
+ ],
+ "x-ms-correlation-request-id": [
+ "6748c3f8-ccb2-41b2-969c-6f1e849bfddd"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061826Z:6748c3f8-ccb2-41b2-969c-6f1e849bfddd"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:18:25 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:12:41.5153240\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "688"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "37172358-38a5-47f9-a14d-557735ec429a"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14979"
+ ],
+ "x-ms-correlation-request-id": [
+ "37172358-38a5-47f9-a14d-557735ec429a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061857Z:37172358-38a5-47f9-a14d-557735ec429a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:18:57 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\",\r\n \"Config Blob Name\": \"configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\",\r\n \"Config Blob Container Name\": \"vhd41552a8ac89b49f59e3196e4919abda1\",\r\n \"Config Blob Uri\": \"https://e2estore.blob.core.windows.net/vhd41552a8ac89b49f59e3196e4919abda1/configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2015-08-17T06:18:59.251298Z\",\r\n \"duration\": \"00:12:43.3717186\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "971"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "de2b0468-f3ac-4ff6-a7fe-ad8a500bfa0e"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14978"
+ ],
+ "x-ms-correlation-request-id": [
+ "de2b0468-f3ac-4ff6-a7fe-ad8a500bfa0e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061928Z:de2b0468-f3ac-4ff6-a7fe-ad8a500bfa0e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:19:28 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\",\r\n \"Config Blob Name\": \"configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\",\r\n \"Config Blob Container Name\": \"vhd41552a8ac89b49f59e3196e4919abda1\",\r\n \"Config Blob Uri\": \"https://e2estore.blob.core.windows.net/vhd41552a8ac89b49f59e3196e4919abda1/configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2015-08-17T06:18:59.251298Z\",\r\n \"duration\": \"00:12:43.3717186\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "971"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ec5ddadb-e7b0-4ab0-855d-35e3d535f8ea"
+ ],
+ "x-ms-client-request-id": [
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS",
+ "179a4c1f-0b1d-4d29-a8e9-fea89e9d73a2-2015-08-17 06:06:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14977"
+ ],
+ "x-ms-correlation-request-id": [
+ "ec5ddadb-e7b0-4ab0-855d-35e3d535f8ea"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061929Z:ec5ddadb-e7b0-4ab0-855d-35e3d535f8ea"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:19:28 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/fa41ebb9-c48f-4abc-9f6e-816036c1857c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZmE0MWViYjktYzQ4Zi00YWJjLTlmNmUtODE2MDM2YzE4NTdjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "779d471f-36d5-4c40-ad62-65854b00272d-2015-08-17 06:19:29Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"e2estore\",\r\n \"Config Blob Name\": \"configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\",\r\n \"Config Blob Container Name\": \"vhd41552a8ac89b49f59e3196e4919abda1\",\r\n \"Config Blob Uri\": \"https://e2estore.blob.core.windows.net/vhd41552a8ac89b49f59e3196e4919abda1/configfa41ebb9-c48f-4abc-9f6e-816036c1857c.xml\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:06:15.8795794Z\",\r\n \"endTimestamp\": \"2015-08-17T06:18:59.251298Z\",\r\n \"duration\": \"00:12:43.3717186\",\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/fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"name\": \"fa41ebb9-c48f-4abc-9f6e-816036c1857c\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "971"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "56a4928a-7f33-4ae6-a7a8-a6b9ec832f2b"
+ ],
+ "x-ms-client-request-id": [
+ "779d471f-36d5-4c40-ad62-65854b00272d-2015-08-17 06:19:29Z-PS",
+ "779d471f-36d5-4c40-ad62-65854b00272d-2015-08-17 06:19:29Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14976"
+ ],
+ "x-ms-correlation-request-id": [
+ "56a4928a-7f33-4ae6-a7a8-a6b9ec832f2b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T061929Z:56a4928a-7f33-4ae6-a7a8-a6b9ec832f2b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:19:29 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/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": [
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"4a024c33-9452-41f9-9eaa-7e17c816c5d9\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "3fa8a801-0561-4e15-9fbc-49a4ed6b3824"
+ ],
+ "x-ms-client-request-id": [
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS",
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "3fa8a801-0561-4e15-9fbc-49a4ed6b3824"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063033Z:3fa8a801-0561-4e15-9fbc-49a4ed6b3824"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:32 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/4a024c33-9452-41f9-9eaa-7e17c816c5d9?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvNGEwMjRjMzMtOTQ1Mi00MWY5LTllYWEtN2UxN2M4MTZjNWQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"ee0edebf-6274-4914-88ea-32c14f413b75\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a56a40c0-dcf9-424b-a2f1-1d080821cb74"
+ ],
+ "x-ms-client-request-id": [
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS",
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14970"
+ ],
+ "x-ms-correlation-request-id": [
+ "a56a40c0-dcf9-424b-a2f1-1d080821cb74"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063033Z:a56a40c0-dcf9-424b-a2f1-1d080821cb74"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30: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/operationResults/4a024c33-9452-41f9-9eaa-7e17c816c5d9?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvNGEwMjRjMzMtOTQ1Mi00MWY5LTllYWEtN2UxN2M4MTZjNWQ5P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
+ ],
+ "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 \"ee0edebf-6274-4914-88ea-32c14f413b75\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a6947c81-6790-4607-a96d-9125a1955513"
+ ],
+ "x-ms-client-request-id": [
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS",
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14969"
+ ],
+ "x-ms-correlation-request-id": [
+ "a6947c81-6790-4607-a96d-9125a1955513"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063044Z:a6947c81-6790-4607-a96d-9125a1955513"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:44 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/ee0edebf-6274-4914-88ea-32c14f413b75?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWUwZWRlYmYtNjI3NC00OTE0LTg4ZWEtMzJjMTRmNDEzYjc1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
+ ],
+ "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\": \"True\",\r\n \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:33.1421967Z\",\r\n \"endTimestamp\": \"2015-08-17T06:30:34.1118857Z\",\r\n \"duration\": \"00:00:00.9696890\",\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/ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"name\": \"ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "717"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "5fd7edcc-4efe-4c9b-bcef-69de2c15b0f6"
+ ],
+ "x-ms-client-request-id": [
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS",
+ "2d18bab2-ca72-4f2b-b2cf-0eaec5348b80-2015-08-17 06:30:30Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14968"
+ ],
+ "x-ms-correlation-request-id": [
+ "5fd7edcc-4efe-4c9b-bcef-69de2c15b0f6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063045Z:5fd7edcc-4efe-4c9b-bcef-69de2c15b0f6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:44 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/ee0edebf-6274-4914-88ea-32c14f413b75?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWUwZWRlYmYtNjI3NC00OTE0LTg4ZWEtMzJjMTRmNDEzYjc1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS"
+ ],
+ "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\": \"True\",\r\n \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:33.1421967Z\",\r\n \"endTimestamp\": \"2015-08-17T06:30:34.1118857Z\",\r\n \"duration\": \"00:00:00.9696890\",\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/ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"name\": \"ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "717"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "79cadee7-c45c-4c08-983a-73a745f380b6"
+ ],
+ "x-ms-client-request-id": [
+ "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS",
+ "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14967"
+ ],
+ "x-ms-correlation-request-id": [
+ "79cadee7-c45c-4c08-983a-73a745f380b6"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063046Z:79cadee7-c45c-4c08-983a-73a745f380b6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:46 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/ee0edebf-6274-4914-88ea-32c14f413b75?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWUwZWRlYmYtNjI3NC00OTE0LTg4ZWEtMzJjMTRmNDEzYjc1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS"
+ ],
+ "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\": \"True\",\r\n \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:33.1421967Z\",\r\n \"endTimestamp\": \"2015-08-17T06:30:34.1118857Z\",\r\n \"duration\": \"00:00:00.9696890\",\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/ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"name\": \"ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "717"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "81ae0932-610d-45c5-ad53-c371f15bdb6d"
+ ],
+ "x-ms-client-request-id": [
+ "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS",
+ "c24e4640-fb6f-48f9-99c9-90559d5e3d22-2015-08-17 06:30:45Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14966"
+ ],
+ "x-ms-correlation-request-id": [
+ "81ae0932-610d-45c5-ad53-c371f15bdb6d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063047Z:81ae0932-610d-45c5-ad53-c371f15bdb6d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:46 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/ee0edebf-6274-4914-88ea-32c14f413b75?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvZWUwZWRlYmYtNjI3NC00OTE0LTg4ZWEtMzJjMTRmNDEzYjc1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "c895e2be-32ef-4810-aaa8-def4348e4822-2015-08-17 06:30:47Z-PS"
+ ],
+ "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\": \"True\",\r\n \"Number of Recovery Points\": \"2\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:33.1421967Z\",\r\n \"endTimestamp\": \"2015-08-17T06:30:34.1118857Z\",\r\n \"duration\": \"00:00:00.9696890\",\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/ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"name\": \"ee0edebf-6274-4914-88ea-32c14f413b75\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "717"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e6e51649-f4d4-4f5e-9862-13dcf43cae2b"
+ ],
+ "x-ms-client-request-id": [
+ "c895e2be-32ef-4810-aaa8-def4348e4822-2015-08-17 06:30:47Z-PS",
+ "c895e2be-32ef-4810-aaa8-def4348e4822-2015-08-17 06:30:47Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14965"
+ ],
+ "x-ms-correlation-request-id": [
+ "e6e51649-f4d4-4f5e-9862-13dcf43cae2b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063048Z:e6e51649-f4d4-4f5e-9862-13dcf43cae2b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:48 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/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"3fe49d16-484a-4c05-a625-3cc4234083c4\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e3f58f95-d142-432b-aa3e-f1a7561fbd9a"
+ ],
+ "x-ms-client-request-id": [
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS",
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-correlation-request-id": [
+ "e3f58f95-d142-432b-aa3e-f1a7561fbd9a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063049Z:e3f58f95-d142-432b-aa3e-f1a7561fbd9a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:49 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/3fe49d16-484a-4c05-a625-3cc4234083c4?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvM2ZlNDlkMTYtNDg0YS00YzA1LWE2MjUtM2NjNDIzNDA4M2M0P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"InProgress\",\r\n \"error\": {\r\n \"code\": \"\",\r\n \"message\": \"\"\r\n },\r\n \"jobList\": [\r\n \"9b1370cb-db81-4472-8aec-5e601159fd55\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "03836e2f-b733-4bb6-abc7-b796edbf9e3f"
+ ],
+ "x-ms-client-request-id": [
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS",
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14964"
+ ],
+ "x-ms-correlation-request-id": [
+ "03836e2f-b733-4bb6-abc7-b796edbf9e3f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063050Z:03836e2f-b733-4bb6-abc7-b796edbf9e3f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:49 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
+ ],
+ "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 \"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-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.0134483\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "683"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "08303a76-8559-4b92-81ea-54c12e8152e3"
+ ],
+ "x-ms-client-request-id": [
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS",
+ "dcaac873-c130-4902-8f5e-c6c9c492874f-2015-08-17 06:30:48Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14963"
+ ],
+ "x-ms-correlation-request-id": [
+ "08303a76-8559-4b92-81ea-54c12e8152e3"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063051Z:08303a76-8559-4b92-81ea-54c12e8152e3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:50 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "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 \"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-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.8220840\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "683"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "63a5eeb5-8e8c-4ce8-96a3-507528e5536a"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14961"
+ ],
+ "x-ms-correlation-request-id": [
+ "63a5eeb5-8e8c-4ce8-96a3-507528e5536a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063051Z:63a5eeb5-8e8c-4ce8-96a3-507528e5536a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:30:51 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "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 \"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-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:33.6646275\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "683"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "d14e8a14-cd7b-4a4c-a015-b9bffaf06a8d"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14958"
+ ],
+ "x-ms-correlation-request-id": [
+ "d14e8a14-cd7b-4a4c-a015-b9bffaf06a8d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063122Z:d14e8a14-cd7b-4a4c-a015-b9bffaf06a8d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:31:22 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "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 \"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-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:04.4930686\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "683"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "7434927e-0432-4f28-a139-5d2e504a08f9"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14957"
+ ],
+ "x-ms-correlation-request-id": [
+ "7434927e-0432-4f28-a139-5d2e504a08f9"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063153Z:7434927e-0432-4f28-a139-5d2e504a08f9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:31:53 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "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 \"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-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:01:35.3255512\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "683"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4d802c74-60b5-4a21-8cc5-1d605c701c6d"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14956"
+ ],
+ "x-ms-correlation-request-id": [
+ "4d802c74-60b5-4a21-8cc5-1d605c701c6d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063224Z:4d802c74-60b5-4a21-8cc5-1d605c701c6d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:32:24 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "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 \"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-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:02:06.2148671\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "683"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "51ebee18-991d-493c-9bac-c28ccb8dcfa1"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14953"
+ ],
+ "x-ms-correlation-request-id": [
+ "51ebee18-991d-493c-9bac-c28ccb8dcfa1"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063255Z:51ebee18-991d-493c-9bac-c28ccb8dcfa1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:32:54 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2015-08-17T06:33:14.6671954Z\",\r\n \"duration\": \"00:02:25.4782673\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "690"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "4769f3d7-d995-4ec2-a771-0304e0c8cc2e"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14952"
+ ],
+ "x-ms-correlation-request-id": [
+ "4769f3d7-d995-4ec2-a771-0304e0c8cc2e"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063326Z:4769f3d7-d995-4ec2-a771-0304e0c8cc2e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:33:26 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2015-08-17T06:33:14.6671954Z\",\r\n \"duration\": \"00:02:25.4782673\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "690"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e017be24-e2f2-4012-958e-f75e47dd0130"
+ ],
+ "x-ms-client-request-id": [
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS",
+ "1ca058bd-6e30-481f-a905-35bad4cce451-2015-08-17 06:30:51Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14951"
+ ],
+ "x-ms-correlation-request-id": [
+ "e017be24-e2f2-4012-958e-f75e47dd0130"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063327Z:e017be24-e2f2-4012-958e-f75e47dd0130"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:33:26 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/9b1370cb-db81-4472-8aec-5e601159fd55?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvOWIxMzcwY2ItZGI4MS00NDcyLThhZWMtNWU2MDExNTlmZDU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "56d5fcef-088c-4040-9f6b-4d4ee5f53013-2015-08-17 06:33:27Z-PS"
+ ],
+ "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 \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-17T06:30:49.1889281Z\",\r\n \"endTimestamp\": \"2015-08-17T06:33:14.6671954Z\",\r\n \"duration\": \"00:02:25.4782673\",\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/9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"name\": \"9b1370cb-db81-4472-8aec-5e601159fd55\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "690"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a4f594e9-e486-49a3-af60-b8df74b8019b"
+ ],
+ "x-ms-client-request-id": [
+ "56d5fcef-088c-4040-9f6b-4d4ee5f53013-2015-08-17 06:33:27Z-PS",
+ "56d5fcef-088c-4040-9f6b-4d4ee5f53013-2015-08-17 06:33:27Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14950"
+ ],
+ "x-ms-correlation-request-id": [
+ "a4f594e9-e486-49a3-af60-b8df74b8019b"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063330Z:a4f594e9-e486-49a3-af60-b8df74b8019b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:33:29 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/protectionPolicies/e2epolicy1?api-version=2014-09-01",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3Byb3RlY3Rpb25Qb2xpY2llcy9lMmVwb2xpY3kxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS"
+ ],
+ "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": [
+ "53ae9298-283f-4f9f-ba7b-73bc857e99d5"
+ ],
+ "x-ms-client-request-id": [
+ "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS",
+ "7c1e6e86-65b5-4061-ae9f-2d07d61eb51d-2015-08-17 06:33:30Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1192"
+ ],
+ "x-ms-correlation-request-id": [
+ "53ae9298-283f-4f9f-ba7b-73bc857e99d5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063333Z:53ae9298-283f-4f9f-ba7b-73bc857e99d5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:33:32 GMT"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "1fc7e125-10c4-49c0-b86a-33b16dc07992-2015-08-17 06:33:33Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "23a727df-71b7-4be6-a1e4-1dec7e1e4af2"
+ ],
+ "x-ms-client-request-id": [
+ "1fc7e125-10c4-49c0-b86a-33b16dc07992-2015-08-17 06:33:33Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "23a727df-71b7-4be6-a1e4-1dec7e1e4af2"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150817T063338Z:23a727df-71b7-4be6-a1e4-1dec7e1e4af2"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 06:33:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupVaultTests/AzureBackupVaultScenarioTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupVaultTests/AzureBackupVaultScenarioTests.json
index 32288e3c71c7..dbc0d19311a6 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupVaultTests/AzureBackupVaultScenarioTests.json
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupVaultTests/AzureBackupVaultScenarioTests.json
@@ -1,31 +1,31 @@
{
"Entries": [
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMT9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n }\r\n },\r\n \"location\": \"westus\",\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": [
- "115"
+ "122"
],
"Accept-Language": [
"en-us"
],
"x-ms-client-request-id": [
- "8ccef70d-c423-4098-849c-0a1e1b75e2f5-2015-07-08 09:58:09Z-PS"
+ "ff97c9dd-5838-4ec9-802a-dc1f5f06a3bf-2015-08-16 19:16:03Z-PS"
],
"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\": \"backuprn1\",\r\n \"etag\": \"22a9ef4f-5bd9-48b5-bc4d-f564d529b597\",\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/backuprn1\",\r\n \"type\": \"Microsoft.Backup/BackupVault\"\r\n}",
+ "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"backuprn\",\r\n \"etag\": \"c96c23d8-fd99-4ac0-bc94-b007c1df0da0\",\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": [
- "339"
+ "344"
],
"Content-Type": [
"application/json"
@@ -37,10 +37,10 @@
"no-cache"
],
"x-ms-request-id": [
- "81d97ccb-5ad8-41d5-a9f3-a47af8d6216f"
+ "837530ba-5774-46b8-9c86-fff8c6d1c057"
],
"x-ms-client-request-id": [
- "8ccef70d-c423-4098-849c-0a1e1b75e2f5-2015-07-08 09:58:09Z-PS"
+ "ff97c9dd-5838-4ec9-802a-dc1f5f06a3bf-2015-08-16 19:16:03Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -49,26 +49,26 @@
"1199"
],
"x-ms-correlation-request-id": [
- "81d97ccb-5ad8-41d5-a9f3-a47af8d6216f"
+ "837530ba-5774-46b8-9c86-fff8c6d1c057"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095812Z:81d97ccb-5ad8-41d5-a9f3-a47af8d6216f"
+ "CENTRALUS:20150816T191611Z:837530ba-5774-46b8-9c86-fff8c6d1c057"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:12 GMT"
+ "Sun, 16 Aug 2015 19:16:10 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
]
},
- "StatusCode": 200
+ "StatusCode": 201
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"properties\": {\r\n \"storageModelType\": \"LocallyRedundant\"\r\n }\r\n}",
"RequestHeaders": {
@@ -82,13 +82,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "8ccef70d-c423-4098-849c-0a1e1b75e2f5-2015-07-08 09:58:09Z-PS"
+ "ff97c9dd-5838-4ec9-802a-dc1f5f06a3bf-2015-08-16 19:16:03Z-PS"
],
"x-ms-version": [
"2013-03-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
"ResponseBody": "",
@@ -103,11 +103,11 @@
"no-cache"
],
"x-ms-request-id": [
- "1cf95f4c-680f-4974-9f74-a6e8629b2ad4"
+ "21c8f5d4-32ca-4c4f-aa63-0145a06d9331"
],
"x-ms-client-request-id": [
- "8ccef70d-c423-4098-849c-0a1e1b75e2f5-2015-07-08 09:58:09Z-PS",
- "8ccef70d-c423-4098-849c-0a1e1b75e2f5-2015-07-08 09:58:09Z-PS"
+ "ff97c9dd-5838-4ec9-802a-dc1f5f06a3bf-2015-08-16 19:16:03Z-PS",
+ "ff97c9dd-5838-4ec9-802a-dc1f5f06a3bf-2015-08-16 19:16:03Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -116,23 +116,23 @@
"1198"
],
"x-ms-correlation-request-id": [
- "1cf95f4c-680f-4974-9f74-a6e8629b2ad4"
+ "21c8f5d4-32ca-4c4f-aa63-0145a06d9331"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095814Z:1cf95f4c-680f-4974-9f74-a6e8629b2ad4"
+ "CENTRALUS:20150816T191612Z:21c8f5d4-32ca-4c4f-aa63-0145a06d9331"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:14 GMT"
+ "Sun, 16 Aug 2015 19:16:11 GMT"
]
},
"StatusCode": 204
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"properties\": {\r\n \"storageModelType\": \"GeoRedundant\"\r\n }\r\n}",
"RequestHeaders": {
@@ -146,13 +146,13 @@
"en-us"
],
"x-ms-client-request-id": [
- "26734291-d565-4c21-8837-f6fc4f04c302-2015-07-08 09:58:18Z-PS"
+ "fd70aa7c-a1db-42ed-8295-5cec7663d72d-2015-08-16 19:16:19Z-PS"
],
"x-ms-version": [
"2013-03-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
"ResponseBody": "",
@@ -167,11 +167,11 @@
"no-cache"
],
"x-ms-request-id": [
- "7bc725d4-f5ef-4278-961a-acab202c5c1a"
+ "f117006d-1295-45cc-94a8-2eb3b5f68a9d"
],
"x-ms-client-request-id": [
- "26734291-d565-4c21-8837-f6fc4f04c302-2015-07-08 09:58:18Z-PS",
- "26734291-d565-4c21-8837-f6fc4f04c302-2015-07-08 09:58:18Z-PS"
+ "fd70aa7c-a1db-42ed-8295-5cec7663d72d-2015-08-16 19:16:19Z-PS",
+ "fd70aa7c-a1db-42ed-8295-5cec7663d72d-2015-08-16 19:16:19Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -180,23 +180,23 @@
"1196"
],
"x-ms-correlation-request-id": [
- "7bc725d4-f5ef-4278-961a-acab202c5c1a"
+ "f117006d-1295-45cc-94a8-2eb3b5f68a9d"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095820Z:7bc725d4-f5ef-4278-961a-acab202c5c1a"
+ "CENTRALUS:20150816T191621Z:f117006d-1295-45cc-94a8-2eb3b5f68a9d"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:20 GMT"
+ "Sun, 16 Aug 2015 19:16:21 GMT"
]
},
"StatusCode": 204
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -204,16 +204,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "8ccef70d-c423-4098-849c-0a1e1b75e2f5-2015-07-08 09:58:09Z-PS"
+ "ff97c9dd-5838-4ec9-802a-dc1f5f06a3bf-2015-08-16 19:16:03Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1117362664063487198,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 768844042967475437,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "112"
+ "111"
],
"Content-Type": [
"application/json"
@@ -225,29 +225,29 @@
"no-cache"
],
"x-ms-request-id": [
- "3eb0cb5d-390e-4ff0-9c35-0e3a73d9171b"
+ "02f41d32-624f-4c5a-a8fc-b502a70a1322"
],
"x-ms-client-request-id": [
- "8ccef70d-c423-4098-849c-0a1e1b75e2f5-2015-07-08 09:58:09Z-PS",
- "8ccef70d-c423-4098-849c-0a1e1b75e2f5-2015-07-08 09:58:09Z-PS"
+ "ff97c9dd-5838-4ec9-802a-dc1f5f06a3bf-2015-08-16 19:16:03Z-PS",
+ "ff97c9dd-5838-4ec9-802a-dc1f5f06a3bf-2015-08-16 19:16:03Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
+ "14999"
],
"x-ms-correlation-request-id": [
- "3eb0cb5d-390e-4ff0-9c35-0e3a73d9171b"
+ "02f41d32-624f-4c5a-a8fc-b502a70a1322"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095814Z:3eb0cb5d-390e-4ff0-9c35-0e3a73d9171b"
+ "CENTRALUS:20150816T191613Z:02f41d32-624f-4c5a-a8fc-b502a70a1322"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:14 GMT"
+ "Sun, 16 Aug 2015 19:16:13 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -256,8 +256,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -265,16 +265,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "0efb57c9-0306-446d-acbc-ae232387f1af-2015-07-08 09:58:14Z-PS"
+ "72f72122-dac6-4fe8-a95a-8abc093ce5f9-2015-08-16 19:16:14Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1117362664063487198,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 768844042967475437,\r\n \"properties\": {\r\n \"storageType\": \"LocallyRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "112"
+ "111"
],
"Content-Type": [
"application/json"
@@ -286,29 +286,29 @@
"no-cache"
],
"x-ms-request-id": [
- "79d0534f-03c5-4bdd-b57f-ad84552fcde0"
+ "6b1b4de4-07a5-4b39-889d-631e08d9a278"
],
"x-ms-client-request-id": [
- "0efb57c9-0306-446d-acbc-ae232387f1af-2015-07-08 09:58:14Z-PS",
- "0efb57c9-0306-446d-acbc-ae232387f1af-2015-07-08 09:58:14Z-PS"
+ "72f72122-dac6-4fe8-a95a-8abc093ce5f9-2015-08-16 19:16:14Z-PS",
+ "72f72122-dac6-4fe8-a95a-8abc093ce5f9-2015-08-16 19:16:14Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14995"
+ "14997"
],
"x-ms-correlation-request-id": [
- "79d0534f-03c5-4bdd-b57f-ad84552fcde0"
+ "6b1b4de4-07a5-4b39-889d-631e08d9a278"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095816Z:79d0534f-03c5-4bdd-b57f-ad84552fcde0"
+ "CENTRALUS:20150816T191615Z:6b1b4de4-07a5-4b39-889d-631e08d9a278"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:15 GMT"
+ "Sun, 16 Aug 2015 19:16:14 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -317,8 +317,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/storageconfig/vaultstorageconfig?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9zdG9yYWdlY29uZmlnL3ZhdWx0c3RvcmFnZWNvbmZpZz9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/storageconfig/vaultstorageconfig?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3N0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -326,16 +326,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "26734291-d565-4c21-8837-f6fc4f04c302-2015-07-08 09:58:18Z-PS"
+ "fd70aa7c-a1db-42ed-8295-5cec7663d72d-2015-08-16 19:16:19Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"resourceId\": 1117362664063487198,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"resourceId\": 768844042967475437,\r\n \"properties\": {\r\n \"storageType\": \"GeoRedundant\",\r\n \"storageTypeState\": \"Unlocked\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "108"
+ "107"
],
"Content-Type": [
"application/json"
@@ -347,29 +347,29 @@
"no-cache"
],
"x-ms-request-id": [
- "cb317c47-05af-4847-92a1-07d66589e09a"
+ "b24d3745-496c-4fc3-8e58-7cb6ea426724"
],
"x-ms-client-request-id": [
- "26734291-d565-4c21-8837-f6fc4f04c302-2015-07-08 09:58:18Z-PS",
- "26734291-d565-4c21-8837-f6fc4f04c302-2015-07-08 09:58:18Z-PS"
+ "fd70aa7c-a1db-42ed-8295-5cec7663d72d-2015-08-16 19:16:19Z-PS",
+ "fd70aa7c-a1db-42ed-8295-5cec7663d72d-2015-08-16 19:16:19Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
+ "14995"
],
"x-ms-correlation-request-id": [
- "cb317c47-05af-4847-92a1-07d66589e09a"
+ "b24d3745-496c-4fc3-8e58-7cb6ea426724"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095822Z:cb317c47-05af-4847-92a1-07d66589e09a"
+ "CENTRALUS:20150816T191622Z:b24d3745-496c-4fc3-8e58-7cb6ea426724"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:21 GMT"
+ "Sun, 16 Aug 2015 19:16:22 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -378,8 +378,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMT9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -387,16 +387,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "0efb57c9-0306-446d-acbc-ae232387f1af-2015-07-08 09:58:14Z-PS"
+ "72f72122-dac6-4fe8-a95a-8abc093ce5f9-2015-08-16 19:16:14Z-PS"
],
"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\": \"backuprn1\",\r\n \"etag\": \"22a9ef4f-5bd9-48b5-bc4d-f564d529b597\",\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/backuprn1\",\r\n \"type\": \"Microsoft.Backup/BackupVault\"\r\n}",
+ "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"backuprn\",\r\n \"etag\": \"c96c23d8-fd99-4ac0-bc94-b007c1df0da0\",\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": [
- "339"
+ "344"
],
"Content-Type": [
"application/json"
@@ -408,28 +408,28 @@
"no-cache"
],
"x-ms-request-id": [
- "bea6c724-4984-4afb-bc39-4ee2bac905ca"
+ "646b1c72-d82d-444a-9604-0e34ff8b8712"
],
"x-ms-client-request-id": [
- "0efb57c9-0306-446d-acbc-ae232387f1af-2015-07-08 09:58:14Z-PS"
+ "72f72122-dac6-4fe8-a95a-8abc093ce5f9-2015-08-16 19:16:14Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
+ "14998"
],
"x-ms-correlation-request-id": [
- "bea6c724-4984-4afb-bc39-4ee2bac905ca"
+ "646b1c72-d82d-444a-9604-0e34ff8b8712"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095815Z:bea6c724-4984-4afb-bc39-4ee2bac905ca"
+ "CENTRALUS:20150816T191614Z:646b1c72-d82d-444a-9604-0e34ff8b8712"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:15 GMT"
+ "Sun, 16 Aug 2015 19:16:13 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -438,8 +438,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMT9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -447,16 +447,16 @@
"en-us"
],
"x-ms-client-request-id": [
- "26734291-d565-4c21-8837-f6fc4f04c302-2015-07-08 09:58:18Z-PS"
+ "fd70aa7c-a1db-42ed-8295-5cec7663d72d-2015-08-16 19:16:19Z-PS"
],
"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\": \"backuprn1\",\r\n \"etag\": \"22a9ef4f-5bd9-48b5-bc4d-f564d529b597\",\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/backuprn1\",\r\n \"type\": \"Microsoft.Backup/BackupVault\"\r\n}",
+ "ResponseBody": "{\r\n \"location\": \"southeastasia\",\r\n \"name\": \"backuprn\",\r\n \"etag\": \"c96c23d8-fd99-4ac0-bc94-b007c1df0da0\",\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": [
- "339"
+ "344"
],
"Content-Type": [
"application/json"
@@ -468,28 +468,28 @@
"no-cache"
],
"x-ms-request-id": [
- "f30f6dd0-24bc-4301-9415-134a49893b11"
+ "cecf7de4-e45d-4c40-8696-177a92a67d75"
],
"x-ms-client-request-id": [
- "26734291-d565-4c21-8837-f6fc4f04c302-2015-07-08 09:58:18Z-PS"
+ "fd70aa7c-a1db-42ed-8295-5cec7663d72d-2015-08-16 19:16:19Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14994"
+ "14996"
],
"x-ms-correlation-request-id": [
- "f30f6dd0-24bc-4301-9415-134a49893b11"
+ "cecf7de4-e45d-4c40-8696-177a92a67d75"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095821Z:f30f6dd0-24bc-4301-9415-134a49893b11"
+ "CENTRALUS:20150816T191621Z:cecf7de4-e45d-4c40-8696-177a92a67d75"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:21 GMT"
+ "Sun, 16 Aug 2015 19:16:21 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -498,10 +498,10 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1/certificates/IdMgmtInternalCert?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMS9jZXJ0aWZpY2F0ZXMvSWRNZ210SW50ZXJuYWxDZXJ0P2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/certificates/IdMgmtInternalCert?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2NlcnRpZmljYXRlcy9JZE1nbXRJbnRlcm5hbENlcnQ/YXBpLXZlcnNpb249MjAxNS0wMy0xNQ==",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"certificate\": \"MIIC3TCCAcWgAwIBAgIQFKHEzjT4EpZNl44PA7dJojANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE1MDcwODA5NDgxNVoXDTE1MDcxMDA5NTgxNVowHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALNA8xmDPJujD5HrGrZ5UZpKncdDBRHJmp4JKEd29jtZng2F8v7z67kF0hDAEE9WSAIxPhjNxQoyxZ2gDdFVQp2r1n6dLxZYlHgih73QFIfAzFo0BP1PCVDCNk5edfMzRt+iZdcK2ruoRRxPiFlo8D6eKSA3MUvwzEl61i44+ctz3mA5lwNf1c58ENLg29IWGhd3LODjkkpre6eGeMEbI5h9+Z2N8yj5ATtzQiDe0FSapbwqktTgT/+ngP6jWxVZI3uyBCZYgxfzfnhtzWkCQnqx2jOOMSu5D1JSiXngQPVQ5wQBVVDmcbF/YdXpRWVER48p2tHemvbd+7zPkmXT5CkCAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBADo2hDHV3r75KgFAP5Ie4jVqGazT1Y5Gs4NBsG6dzDWg9/0vsHT8SOjNjjccpPUkP2aO/4RQlLhC2gsU/BMYw7kxY0eyUxAM0SB7sJ9gj/EBcHDyeOu1eSnYGmqcvXmbFjMauLwNkNwsACo5vVz0ghXxpazRAnpzyKgZgwNC4ruotDzMT8S4zB8a1WVEpcx43Um/5Yg06QBfIEG4wD11rIpENkKm3DWnP5OV39knHLLt/UvwY011kpfXFuXo4ZVXI3F096kgER/vpr32T+H3SCJVbrTi+qKDLjENpdVSTxEh16w/RK1mB6LST7KOIn0LwC76xveMYoOP/1uYK4hkKgQ=\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"certificate\": \"MIIC3TCCAcWgAwIBAgIQHIbfGvFylpdMv1odbf2pAzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE1MDgxNjE5MDYxNVoXDTE1MDgxODE5MTYxNVowHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMvTUfRMRX4SHXTdAARMy94ZamGNvxNAyillUp4t/zaH4Ug0T8Hs3ahdhS/CLCdrocZwrOqcTwVslPHJNW3IN6/GEsYT+j8JjnHj78G4XEiTAah3hHczXRVfNF2tXYC2StuQ/8OnTA42kcArqBhKmS5oifbpxD0OVmWejwNf3NFf3/RJDWTOH8/6ifwCUA1zkKWjnEtM0w4T7iQGPc+1Os6N6ZAVfdjV++fcL2q+T/nMnwGpofkgtie1YKaqfwTdi57G2HCuU3nWfUg7/y+w0CL5mTkQMzyBz178Qcvb2CaBTmtPkUCbT3ixi2YiFX4p0To3OGzK4MYUWrBeQxNnqtMCAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBALgUyJginWRLWq1gDsz8xp7Zps9SXNeFB94JKy9Qtz5Cr+KgrA0xvhcUAjXxHCnjsvrb6PHSFz5iT9CUrkFEO97sVDyRXOArUlAK5/tFUn6AAPkRSCI/RlhrNUHp/vKK+BgL6R694dJLc1kUbW/haULofDb+Fbh0+4M95EcNwqfvhuWf1nbr58icFEzkTuvHUH+QvmnC2kSyrC58OGShe+VwFyjAHCmPUEVSCWHKxi7v+NFktx/WDOYbeQjZn4K+UR5VmwYf95jArkZZZIUAf+zhRH52o3NZRcISp4H6ybFqp60wujqzzIUSosOm8jWLBaL0gt9HiWzANjTQicO/9Wc=\"\r\n }\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json"
@@ -512,17 +512,20 @@
"Accept-Language": [
"en-us"
],
+ "x-ms-client-request-id": [
+ "43cf16e7-e7a0-4d56-8eb5-66f9ecee0ff4-2015-08-16 19:16:15Z-PS"
+ ],
"x-ms-version": [
"2013-03-01"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"certificate\": \"MIIC3TCCAcWgAwIBAgIQFKHEzjT4EpZNl44PA7dJojANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE1MDcwODA5NDgxNVoXDTE1MDcxMDA5NTgxNVowHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALNA8xmDPJujD5HrGrZ5UZpKncdDBRHJmp4JKEd29jtZng2F8v7z67kF0hDAEE9WSAIxPhjNxQoyxZ2gDdFVQp2r1n6dLxZYlHgih73QFIfAzFo0BP1PCVDCNk5edfMzRt+iZdcK2ruoRRxPiFlo8D6eKSA3MUvwzEl61i44+ctz3mA5lwNf1c58ENLg29IWGhd3LODjkkpre6eGeMEbI5h9+Z2N8yj5ATtzQiDe0FSapbwqktTgT/+ngP6jWxVZI3uyBCZYgxfzfnhtzWkCQnqx2jOOMSu5D1JSiXngQPVQ5wQBVVDmcbF/YdXpRWVER48p2tHemvbd+7zPkmXT5CkCAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBADo2hDHV3r75KgFAP5Ie4jVqGazT1Y5Gs4NBsG6dzDWg9/0vsHT8SOjNjjccpPUkP2aO/4RQlLhC2gsU/BMYw7kxY0eyUxAM0SB7sJ9gj/EBcHDyeOu1eSnYGmqcvXmbFjMauLwNkNwsACo5vVz0ghXxpazRAnpzyKgZgwNC4ruotDzMT8S4zB8a1WVEpcx43Um/5Yg06QBfIEG4wD11rIpENkKm3DWnP5OV39knHLLt/UvwY011kpfXFuXo4ZVXI3F096kgER/vpr32T+H3SCJVbrTi+qKDLjENpdVSTxEh16w/RK1mB6LST7KOIn0LwC76xveMYoOP/1uYK4hkKgQ=\",\r\n \"resourceId\": 1117362664063487198,\r\n \"globalAcsNamespace\": \"seadev01rrp1users\",\r\n \"globalAcsHostName\": \"accesscontrol.windows.net\",\r\n \"globalAcsRPRealm\": \"http://windowscloudbackup/m3\",\r\n \"subject\": \"CN=Windows Azure Tools\",\r\n \"validFrom\": \"2015-07-08T02:48:15-07:00\",\r\n \"validTo\": \"2015-07-10T02:58:15-07:00\",\r\n \"thumbprint\": \"2F6E98592FCC206CBA2BF6FDCA6279C87A0DCA60\",\r\n \"friendlyName\": \"\",\r\n \"issuer\": \"CN=Windows Azure Tools\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"certificate\": \"MIIC3TCCAcWgAwIBAgIQHIbfGvFylpdMv1odbf2pAzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE1MDgxNjE5MDYxNVoXDTE1MDgxODE5MTYxNVowHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMvTUfRMRX4SHXTdAARMy94ZamGNvxNAyillUp4t/zaH4Ug0T8Hs3ahdhS/CLCdrocZwrOqcTwVslPHJNW3IN6/GEsYT+j8JjnHj78G4XEiTAah3hHczXRVfNF2tXYC2StuQ/8OnTA42kcArqBhKmS5oifbpxD0OVmWejwNf3NFf3/RJDWTOH8/6ifwCUA1zkKWjnEtM0w4T7iQGPc+1Os6N6ZAVfdjV++fcL2q+T/nMnwGpofkgtie1YKaqfwTdi57G2HCuU3nWfUg7/y+w0CL5mTkQMzyBz178Qcvb2CaBTmtPkUCbT3ixi2YiFX4p0To3OGzK4MYUWrBeQxNnqtMCAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBALgUyJginWRLWq1gDsz8xp7Zps9SXNeFB94JKy9Qtz5Cr+KgrA0xvhcUAjXxHCnjsvrb6PHSFz5iT9CUrkFEO97sVDyRXOArUlAK5/tFUn6AAPkRSCI/RlhrNUHp/vKK+BgL6R694dJLc1kUbW/haULofDb+Fbh0+4M95EcNwqfvhuWf1nbr58icFEzkTuvHUH+QvmnC2kSyrC58OGShe+VwFyjAHCmPUEVSCWHKxi7v+NFktx/WDOYbeQjZn4K+UR5VmwYf95jArkZZZIUAf+zhRH52o3NZRcISp4H6ybFqp60wujqzzIUSosOm8jWLBaL0gt9HiWzANjTQicO/9Wc=\",\r\n \"resourceId\": 768844042967475437,\r\n \"globalAcsNamespace\": \"seabvtiaasrrp1users\",\r\n \"globalAcsHostName\": \"accesscontrol.windows.net\",\r\n \"globalAcsRPRealm\": \"http://windowscloudbackup/m3\",\r\n \"subject\": \"CN=Windows Azure Tools\",\r\n \"validFrom\": \"2015-08-17T00:36:15+05:30\",\r\n \"validTo\": \"2015-08-19T00:46:15+05:30\",\r\n \"thumbprint\": \"133E5FE93E6153F060B365F883BB7881724B9385\",\r\n \"friendlyName\": \"\",\r\n \"issuer\": \"CN=Windows Azure Tools\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "1410"
+ "1411"
],
"Content-Type": [
"application/json"
@@ -534,11 +537,11 @@
"no-cache"
],
"x-ms-request-id": [
- "a94d6ca2-6cba-45f0-bd5e-fe3535d1e7d9"
+ "8e85d5a7-d788-4fcd-abb1-0247fb50ae16"
],
"x-ms-client-request-id": [
- "38750946-e6c7-4f15-a698-323deaf1f2ab",
- "38750946-e6c7-4f15-a698-323deaf1f2ab"
+ "43cf16e7-e7a0-4d56-8eb5-66f9ecee0ff4-2015-08-16 19:16:15Z-PS",
+ "43cf16e7-e7a0-4d56-8eb5-66f9ecee0ff4-2015-08-16 19:16:15Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -547,16 +550,16 @@
"1197"
],
"x-ms-correlation-request-id": [
- "a94d6ca2-6cba-45f0-bd5e-fe3535d1e7d9"
+ "8e85d5a7-d788-4fcd-abb1-0247fb50ae16"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095819Z:a94d6ca2-6cba-45f0-bd5e-fe3535d1e7d9"
+ "CENTRALUS:20150816T191619Z:8e85d5a7-d788-4fcd-abb1-0247fb50ae16"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:18 GMT"
+ "Sun, 16 Aug 2015 19:16:19 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
@@ -565,8 +568,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn1?api-version=2015-03-15",
- "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuMT9hcGktdmVyc2lvbj0yMDE1LTAzLTE1",
+ "RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn?api-version=2015-03-15",
+ "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuP2FwaS12ZXJzaW9uPTIwMTUtMDMtMTU=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
@@ -574,10 +577,10 @@
"en-us"
],
"x-ms-client-request-id": [
- "c4aca23e-b7fa-4016-829d-5af4fd8eef00-2015-07-08 09:58:21Z-PS"
+ "542e3e8b-5acc-4235-a458-892004f1681a-2015-08-16 19:16:22Z-PS"
],
"User-Agent": [
- "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ "Microsoft.Azure.Management.BackupServices.BackupVaultServicesManagementClient/0.0.0.0"
]
},
"ResponseBody": "",
@@ -592,10 +595,10 @@
"no-cache"
],
"x-ms-request-id": [
- "17c2f600-ee65-4ad2-a946-de4bc205406d"
+ "7a2ab660-14da-4f4f-98c3-789a14f936c5"
],
"x-ms-client-request-id": [
- "c4aca23e-b7fa-4016-829d-5af4fd8eef00-2015-07-08 09:58:21Z-PS"
+ "542e3e8b-5acc-4235-a458-892004f1681a-2015-08-16 19:16:22Z-PS"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -604,16 +607,16 @@
"1195"
],
"x-ms-correlation-request-id": [
- "17c2f600-ee65-4ad2-a946-de4bc205406d"
+ "7a2ab660-14da-4f4f-98c3-789a14f936c5"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20150708T095825Z:17c2f600-ee65-4ad2-a946-de4bc205406d"
+ "CENTRALUS:20150816T191624Z:7a2ab660-14da-4f4f-98c3-789a14f936c5"
],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Wed, 08 Jul 2015 09:58:25 GMT"
+ "Sun, 16 Aug 2015 19:16:24 GMT"
]
},
"StatusCode": 200
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.BackupItemTests/BackUpAzureBackUpItem.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.BackupItemTests/BackUpAzureBackUpItem.json
new file mode 100644
index 000000000000..8844798d7054
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.BackupItemTests/BackUpAzureBackUpItem.json
@@ -0,0 +1,200 @@
+{
+ "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": [
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"34c3c958-faf5-42e9-8f0b-5e0514ce17d8\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1115c264-bd9a-47e8-a5b6-be1b65702db1"
+ ],
+ "x-ms-client-request-id": [
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS",
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999997"
+ ],
+ "x-ms-correlation-request-id": [
+ "1115c264-bd9a-47e8-a5b6-be1b65702db1"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T103238Z:1115c264-bd9a-47e8-a5b6-be1b65702db1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:32:37 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/34c3c958-faf5-42e9-8f0b-5e0514ce17d8?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvMzRjM2M5NTgtZmFmNS00MmU5LThmMGItNWUwNTE0Y2UxN2Q4P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS"
+ ],
+ "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 \"720733ef-b2ef-48f5-9bc7-31b178d32b2c\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "84d8dde7-7c07-49df-a1a2-7d24f6e5ba9f"
+ ],
+ "x-ms-client-request-id": [
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS",
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "84d8dde7-7c07-49df-a1a2-7d24f6e5ba9f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T103250Z:84d8dde7-7c07-49df-a1a2-7d24f6e5ba9f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:32:49 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/720733ef-b2ef-48f5-9bc7-31b178d32b2c?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNzIwNzMzZWYtYjJlZi00OGY1LTliYzctMzFiMTc4ZDMyYjJjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS"
+ ],
+ "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\": \"InProgress\",\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\": \"NotStarted\",\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\": \"IaasVM\",\r\n \"operation\": \"Backup\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-14T10:32:38.1972982Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:13.9125259\",\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/720733ef-b2ef-48f5-9bc7-31b178d32b2c\",\r\n \"name\": \"720733ef-b2ef-48f5-9bc7-31b178d32b2c\",\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": [
+ "44c56401-242e-4b51-916b-3dcd9fd0e936"
+ ],
+ "x-ms-client-request-id": [
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS",
+ "59f851c4-98b3-4546-9dc8-adeedad9aa5f-2015-08-14 10:32:34Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "44c56401-242e-4b51-916b-3dcd9fd0e936"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T103251Z:44c56401-242e-4b51-916b-3dcd9fd0e936"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:32:51 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RecoveryPointTests/GetRecoveryPointTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RecoveryPointTests/GetRecoveryPointTests.json
new file mode 100644
index 000000000000..399f35516070
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RecoveryPointTests/GetRecoveryPointTests.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/587454680194?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3JlY292ZXJ5UG9pbnRzLzU4NzQ1NDY4MDE5ND9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "dd728248-937b-40a1-a0d0-e58dcbc42a35-2015-08-14 10:55:47Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"recoveryPointType\": \"AppConsistent\",\r\n \"recoveryPointTime\": \"2015-08-14T10:33:54.9308309Z\",\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/587454680194\",\r\n \"name\": \"587454680194\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems/recoveryPoints\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "530"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "f60c4e82-2374-4420-a102-7aba07efcb25"
+ ],
+ "x-ms-client-request-id": [
+ "dd728248-937b-40a1-a0d0-e58dcbc42a35-2015-08-14 10:55:47Z-PS",
+ "dd728248-937b-40a1-a0d0-e58dcbc42a35-2015-08-14 10:55:47Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-correlation-request-id": [
+ "f60c4e82-2374-4420-a102-7aba07efcb25"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T105550Z:f60c4e82-2374-4420-a102-7aba07efcb25"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:55: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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RecoveryPointTests/GetRecoveryPointsTests.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RecoveryPointTests/GetRecoveryPointsTests.json
new file mode 100644
index 000000000000..a682e6f2f2dd
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RecoveryPointTests/GetRecoveryPointsTests.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": [
+ "35eef4e7-dbda-4c53-8a23-112b747b9ee2-2015-08-14 10:53:32Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"recoveryPointType\": \"AppConsistent\",\r\n \"recoveryPointTime\": \"2015-08-14T10:33:54.9308309Z\",\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/587454680194\",\r\n \"name\": \"587454680194\",\r\n \"type\": \"Microsoft.Backup/BackupVault/registeredContainers/protectedItems/recoveryPoints\"\r\n }\r\n ],\r\n \"nextLink\": null\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "558"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "1ef758db-a259-4840-baa5-77b69e09d722"
+ ],
+ "x-ms-client-request-id": [
+ "35eef4e7-dbda-4c53-8a23-112b747b9ee2-2015-08-14 10:53:32Z-PS",
+ "35eef4e7-dbda-4c53-8a23-112b747b9ee2-2015-08-14 10:53:32Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-correlation-request-id": [
+ "1ef758db-a259-4840-baa5-77b69e09d722"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T105335Z:1ef758db-a259-4840-baa5-77b69e09d722"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:53:35 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RestoreItemTests/RestoreAzureBackUpItem.json b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RestoreItemTests/RestoreAzureBackUpItem.json
new file mode 100644
index 000000000000..4eb420e13b02
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.RestoreItemTests/RestoreAzureBackUpItem.json
@@ -0,0 +1,206 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/registeredContainers/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/protectedItems/iaasvmcontainer%3Bhydrarecordvm%3Bhydrarecordvm/recoveryPoints/587454680194/restore?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL3JlZ2lzdGVyZWRDb250YWluZXJzL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3Byb3RlY3RlZEl0ZW1zL2lhYXN2bWNvbnRhaW5lciUzQmh5ZHJhcmVjb3Jkdm0lM0JoeWRyYXJlY29yZHZtL3JlY292ZXJ5UG9pbnRzLzU4NzQ1NDY4MDE5NC9yZXN0b3JlP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"typeOfRecovery\": \"RestoreDisks\",\r\n \"recoveryDSTypeSpecificInputs\": \"{\\\"AffinityGroup\\\":\\\"\\\",\\\"CloudServiceName\\\":\\\"\\\",\\\"ContinueProtection\\\":false,\\\"CreateNewCloudService\\\":false,\\\"InputStorageAccountName\\\":\\\"portalvhds7jzk3jty85qx5\\\",\\\"Region\\\":\\\"southeastasia\\\",\\\"SubNetName\\\":null,\\\"TargetVNet\\\":null,\\\"VmName\\\":\\\"\\\"}\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "359"
+ ],
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "\"adfca7a1-f7f6-4dcf-9241-e65662d06740\"",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "38"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "40559460-865b-41b1-87f1-8bb5333407d0"
+ ],
+ "x-ms-client-request-id": [
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS",
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "999996"
+ ],
+ "x-ms-correlation-request-id": [
+ "40559460-865b-41b1-87f1-8bb5333407d0"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T105634Z:40559460-865b-41b1-87f1-8bb5333407d0"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:56:33 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/adfca7a1-f7f6-4dcf-9241-e65662d06740?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL29wZXJhdGlvblJlc3VsdHMvYWRmY2E3YTEtZjdmNi00ZGNmLTkyNDEtZTY1NjYyZDA2NzQwP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS"
+ ],
+ "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 \"5ba9c57e-7580-47bc-b325-33c8a7ede31a\"\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "106"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c400fd9b-387c-47fe-a23d-ea8be4d536c1"
+ ],
+ "x-ms-client-request-id": [
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS",
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-correlation-request-id": [
+ "c400fd9b-387c-47fe-a23d-ea8be4d536c1"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T105645Z:c400fd9b-387c-47fe-a23d-ea8be4d536c1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:56:45 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/5ba9c57e-7580-47bc-b325-33c8a7ede31a?api-version=2014-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL2JhY2t1cHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3VwL0JhY2t1cFZhdWx0L2JhY2t1cHJuL2pvYnMvNWJhOWM1N2UtNzU4MC00N2JjLWIzMjUtMzNjOGE3ZWRlMzFhP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept-Language": [
+ "en-us"
+ ],
+ "x-ms-client-request-id": [
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"JobType\": \"Recover disks\",\r\n \"Target Storage Account Name\": \"portalvhds7jzk3jty85qx5\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Restore\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-14T10:56:38.1426358Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:09.3382061\",\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/5ba9c57e-7580-47bc-b325-33c8a7ede31a\",\r\n \"name\": \"5ba9c57e-7580-47bc-b325-33c8a7ede31a\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "699"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c81abfd7-e008-410c-92f3-b9dfe332e860"
+ ],
+ "x-ms-client-request-id": [
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS",
+ "6433ec86-9d01-43b9-8690-93e1385d2ec1-2015-08-14 10:56:31Z-PS"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14988"
+ ],
+ "x-ms-correlation-request-id": [
+ "c81abfd7-e008-410c-92f3-b9dfe332e860"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALUS:20150814T105647Z:c81abfd7-e008-410c-92f3-b9dfe332e860"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 14 Aug 2015 10:56:47 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/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
index 04589123a7c6..347d88dceca1 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackUpRestoreBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackUpRestoreBase.cs
new file mode 100644
index 000000000000..5cbce720bd25
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackUpRestoreBase.cs
@@ -0,0 +1,47 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Cmdlets;
+
+namespace Microsoft.Azure.Commands.AzureBackup
+{
+ public abstract class AzureBackupRestoreBase : AzureBackupCmdletBase
+ {
+ // ToDO:
+ // Correct Help message and other attributes related to paameters
+ [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackUpRecoveryPoint, ValueFromPipeline = true)]
+ [ValidateNotNullOrEmpty]
+ public AzureRMBackupRecoveryPoint RecoveryPoint { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ WriteDebug(String.Format(Resources.CmdletCalled, RecoveryPoint.ResourceGroupName, RecoveryPoint.ResourceName, RecoveryPoint.Location));
+ InitializeAzureBackupCmdlet(RecoveryPoint.ResourceGroupName, RecoveryPoint.ResourceName);
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/AzureBackupClientAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/AzureBackupClientAdapter.cs
index 215db6047e47..fe67781f9d65 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/AzureBackupClientAdapter.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/AzureBackupClientAdapter.cs
@@ -33,26 +33,21 @@ public partial class AzureBackupClientAdapter
///
private Uri baseURI { get; set; }
- ///
- /// ResourceGroup context for the operation
- ///
- private string resourceGroupName { get; set; }
-
- ///
- /// Resource context for the operation
- ///
- private string resourceName { get; set; }
-
///
/// Client request id.
///
private string clientRequestId;
///
- /// Azure backup client.
+ /// Azure vault backup client to talk to IdMgmt.
///
private BackupVaultServicesManagementClient azureBackupVaultClient;
+ ///
+ /// Azure backup client to talk to BMS.
+ ///
+ private BackupServicesManagementClient azureBackupClient;
+
///
/// Cancellation Token Source
///
@@ -68,19 +63,33 @@ private BackupVaultServicesManagementClient AzureBackupVaultClient
{
if (this.azureBackupVaultClient == null)
{
- this.azureBackupVaultClient = AzureSession.ClientFactory.CreateCustomClient(resourceName, resourceGroupName, cloudCreds, baseURI);
+ this.azureBackupVaultClient = AzureSession.ClientFactory.CreateCustomClient(cloudCreds, baseURI);
}
return this.azureBackupVaultClient;
}
}
- public AzureBackupClientAdapter(SubscriptionCloudCredentials creds, Uri baseUri, string rgName, string rName)
+ ///
+ /// Get Azure backup client.
+ ///
+ private BackupServicesManagementClient AzureBackupClient
+ {
+ get
+ {
+ if (this.azureBackupClient == null)
+ {
+ this.azureBackupClient = AzureSession.ClientFactory.CreateCustomClient(cloudCreds, baseURI);
+ }
+
+ return this.azureBackupClient;
+ }
+ }
+
+ public AzureBackupClientAdapter(SubscriptionCloudCredentials creds, Uri baseUri)
{
cloudCreds = creds;
baseURI = baseUri;
- resourceGroupName = rgName;
- resourceName = rName;
RefreshClientRequestId();
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ContainerAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ContainerAdapter.cs
index b6cbc2eb44f7..83559355b0a4 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ContainerAdapter.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ContainerAdapter.cs
@@ -37,9 +37,9 @@ public partial class AzureBackupClientAdapter
/// Gets all MARS containers in the vault
///
///
- public IEnumerable ListMachineContainers()
+ public IEnumerable ListMachineContainers(string resourceGroupName, string resourceName)
{
- var listResponse = AzureBackupVaultClient.Container.ListMarsContainersByType(MarsContainerType.Machine, GetCustomRequestHeaders());
+ var listResponse = AzureBackupVaultClient.Container.ListMarsContainersByType(resourceGroupName, resourceName, MarsContainerType.Machine, GetCustomRequestHeaders());
return listResponse.ListMarsContainerResponse.Value;
}
@@ -48,9 +48,9 @@ public IEnumerable ListMachineContainers()
///
/// The friendly name of the container
///
- public IEnumerable ListMachineContainers(string friendlyName)
+ public IEnumerable ListMachineContainers(string resourceGroupName, string resourceName, string friendlyName)
{
- var listResponse = AzureBackupVaultClient.Container.ListMarsContainersByTypeAndFriendlyName(MarsContainerType.Machine, friendlyName, GetCustomRequestHeaders());
+ var listResponse = AzureBackupVaultClient.Container.ListMarsContainersByTypeAndFriendlyName(resourceGroupName, resourceName, MarsContainerType.Machine, friendlyName, GetCustomRequestHeaders());
return listResponse.ListMarsContainerResponse.Value;
}
@@ -59,9 +59,9 @@ public IEnumerable ListMachineContainers(string friendlyN
///
///
///
- public void UnregisterMachineContainer(long containerId)
+ public void UnregisterMachineContainer(string resourceGroupName, string resourceName, long containerId)
{
- AzureBackupVaultClient.Container.UnregisterMarsContainer(containerId.ToString(), GetCustomRequestHeaders());
+ AzureBackupVaultClient.Container.UnregisterMarsContainer(resourceGroupName, resourceName, containerId.ToString(), GetCustomRequestHeaders());
}
///
@@ -69,7 +69,7 @@ public void UnregisterMachineContainer(long containerId)
///
///
///
- public void EnableMachineContainerReregistration(long containerId)
+ public void EnableMachineContainerReregistration(string resourceGroupName, string resourceName, long containerId)
{
EnableReregistrationRequest request = new EnableReregistrationRequest()
{
@@ -79,7 +79,50 @@ public void EnableMachineContainerReregistration(long containerId)
},
};
- AzureBackupVaultClient.Container.EnableMarsContainerReregistration(containerId.ToString(), request, GetCustomRequestHeaders());
+ AzureBackupVaultClient.Container.EnableMarsContainerReregistration(resourceGroupName, resourceName, containerId.ToString(), request, GetCustomRequestHeaders());
+ }
+
+ ///
+ /// Gets all IaaSVM containers in the vault by friendly name
+ ///
+ ///
+ ///
+ public IEnumerable ListContainers(string resourceGroupName, string resourceName, ContainerQueryParameters parameters)
+ {
+ var listResponse = AzureBackupClient.Container.ListAsync(resourceGroupName, resourceName, parameters, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return listResponse.CSMContainerListResponse.Value;
+ }
+
+ ///
+ /// Register container
+ ///
+ ///
+ ///
+ public Guid RegisterContainer(string resourceGroupName, string resourceName, string containerName)
+ {
+ var response = AzureBackupClient.Container.RegisterAsync(resourceGroupName, resourceName, containerName, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return response.OperationId;
+ }
+
+ ///
+ /// UnRegister container
+ ///
+ ///
+ ///
+ public Guid UnRegisterContainer(string resourceGroupName, string resourceName, string containerName)
+ {
+ var response = AzureBackupClient.Container.UnregisterAsync(resourceGroupName, resourceName, containerName, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return response.OperationId;
+ }
+
+ ///
+ /// Refresh container list in service
+ ///
+ ///
+ public Guid RefreshContainers(string resourceGroupName, string resourceName)
+ {
+ var response = AzureBackupClient.Container.RefreshAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return response.OperationId;
}
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ItemAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ItemAdapter.cs
new file mode 100644
index 000000000000..0fd442e799c4
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/ItemAdapter.cs
@@ -0,0 +1,141 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using Microsoft.WindowsAzure.Management.Scheduler;
+using Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Management.BackupServices.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter
+{
+ public partial class AzureBackupClientAdapter
+ {
+ ///
+ /// Lists datasources in the vault
+ ///
+ ///
+ ///
+ public IList ListDataSources(string resourceGroupName, string resourceName, CSMProtectedItemQueryObject query)
+ {
+ var response = AzureBackupClient.DataSource.ListCSMAsync(resourceGroupName, resourceName, query, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return (response != null) ? response.CSMProtectedItemListResponse.Value : null;
+ }
+
+ ///
+ /// Lists protectable objects in the vault
+ ///
+ ///
+ ///
+ public IList ListProtectableObjects(string resourceGroupName, string resourceName, CSMItemQueryObject query)
+ {
+ var response = AzureBackupClient.ProtectableObject.ListCSMAsync(resourceGroupName, resourceName, query, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return (response != null) ? response.CSMItemListResponse.Value : null;
+ }
+
+ ///
+ /// Dsiable protection
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public Guid DisableProtection(string resourceGroupName, string resourceName, string containerName, string itemName)
+ {
+ var response = AzureBackupClient.DataSource.DisableProtectionCSMAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), containerName, itemName, CmdletCancellationToken).Result;
+ return response.OperationId;
+ }
+
+ ///
+ /// Enable Protection
+ ///
+ ///
+ ///
+ public Guid EnableProtection(string resourceGroupName, string resourceName, string containerName, string itemName, CSMSetProtectionRequest request)
+ {
+ var response = AzureBackupClient.DataSource.EnableProtectionCSMAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), containerName, itemName, request, CmdletCancellationToken).Result;
+ return response.OperationId;
+ }
+
+ ///
+ /// Update Protection
+ ///
+ ///
+ ///
+ public Guid UpdateProtection(string resourceGroupName, string resourceName, string containerName, string itemName, CSMUpdateProtectionRequest request)
+ {
+ var response = AzureBackupClient.DataSource.UpdateProtectionCSMAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), containerName, itemName, request, CmdletCancellationToken).Result;
+ return response.OperationId;
+ }
+
+ ///
+ /// Trigger backup on a DS
+ ///
+ ///
+ ///
+ ///
+ public Guid TriggerBackup(string resourceGroupName, string resourceName, string containerName, string itemName)
+ {
+ var response = AzureBackupClient.BackUp.TriggerBackUpAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), containerName, itemName, CmdletCancellationToken).Result;
+ return response.OperationId;
+ }
+
+ ///
+ /// Lists recovery points for specified item
+ ///
+ ///
+ ///
+ ///
+ public IEnumerable ListRecoveryPoints(string resourceGroupName, string resourceName, string containerName, string itemName)
+ {
+ var response = AzureBackupClient.RecoveryPoint.ListAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), containerName, itemName, CmdletCancellationToken).Result;
+ return (response != null) ? response.CSMRecoveryPointListResponse.Value : null;
+ }
+
+ ///
+ /// Lists recovery points for specified item
+ ///
+ ///
+ ///
+ ///
+ public CSMRecoveryPointResponse GetRecoveryPoint(string resourceGroupName, string resourceName, string containerName, string itemName, string recoveryPointName)
+ {
+ var response = AzureBackupClient.RecoveryPoint.GetAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), containerName, itemName, recoveryPointName, CmdletCancellationToken).Result;
+ return (response != null) ? response.CSMRecoveryPointResponse : null;
+ }
+
+ ///
+ /// Lists recovery points for specified item
+ ///
+ ///
+ ///
+ ///
+ ///
+ public Guid TriggerRestore(string resourceGroupName, string resourceName, string containerName, string itemName, string recoveryPointName, CSMRestoreRequest csmRestoreRequest)
+ {
+ var response = AzureBackupClient.Restore.TriggerResotreAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), containerName, itemName, recoveryPointName, csmRestoreRequest, CmdletCancellationToken).Result;
+ return response.OperationId;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/JobAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/JobAdapter.cs
new file mode 100644
index 000000000000..ee8b2d02208c
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/JobAdapter.cs
@@ -0,0 +1,53 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using Microsoft.WindowsAzure.Management.Scheduler;
+using Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Mgmt = Microsoft.Azure.Management.BackupServices.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter
+{
+ public partial class AzureBackupClientAdapter
+ {
+ public IEnumerable ListJobs(string resourceGroupName, string resourceName, CSMJobQueryObject queryParams)
+ {
+ var response = AzureBackupClient.Job.ListAsync(resourceGroupName, resourceName, queryParams, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return response.List.Value;
+ }
+
+ public Mgmt.CSMJobDetailsResponse GetJobDetails(string resourceGroupName, string resourceName, string jobId)
+ {
+ var response = AzureBackupClient.Job.GetAsync(resourceGroupName, resourceName, jobId, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return response.Value;
+ }
+
+ public Guid TriggerCancelJob(string resourceGroupName, string resourceName, string jobId)
+ {
+ var response = AzureBackupClient.Job.StopAsync(resourceGroupName, resourceName, jobId, GetCustomRequestHeaders(), CmdletCancellationToken).Result.OperationId;
+ return response;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/OperationStatusAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/OperationStatusAdapter.cs
new file mode 100644
index 000000000000..fb3077e5b805
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/OperationStatusAdapter.cs
@@ -0,0 +1,39 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using Microsoft.WindowsAzure.Management.Scheduler;
+using Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Management.BackupServices.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter
+{
+ public partial class AzureBackupClientAdapter
+ {
+ public CSMOperationResult GetOperationStatus(string resourceGroupName, string resourceName, string operationId)
+ {
+ return AzureBackupClient.OperationStatus.CSMGetAsync(resourceGroupName, resourceName, operationId, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/PolicyAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/PolicyAdapter.cs
new file mode 100644
index 000000000000..df17ca032313
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/PolicyAdapter.cs
@@ -0,0 +1,102 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using System.Linq;
+using Microsoft.WindowsAzure.Management.Scheduler;
+using Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Management.BackupServices.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.ClientAdapter
+{
+ public partial class AzureBackupClientAdapter
+ {
+ ///
+ /// Gets protection policies of matching name
+ ///
+ ///
+ ///
+ public CSMProtectionPolicyResponse GetProtectionPolicyByName(string resourceGroupName, string resourceName, string name)
+ {
+ var policyList = ListProtectionPolicies(resourceGroupName, resourceName);
+ var filteredList = policyList.Where(x => x.Name.Equals(name, System.StringComparison.InvariantCultureIgnoreCase));
+ return filteredList.FirstOrDefault();
+ }
+
+ ///
+ /// Gets all policies in the vault
+ ///
+ ///
+ public IList ListProtectionPolicies(string resourceGroupName, string resourceName)
+ {
+ var listResponse = AzureBackupClient.CSMProtectionPolicy.ListAsync(resourceGroupName, resourceName, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return listResponse.CSMProtectionPolicyListResponse.Value;
+ }
+
+ ///
+ /// Add protection policy
+ ///
+ ///
+ ///
+ public void AddProtectionPolicy(string resourceGroupName, string resourceName, string policyName, CSMAddProtectionPolicyRequest request)
+ {
+ AzureBackupClient.CSMProtectionPolicy.AddAsync(resourceGroupName, resourceName, policyName, request, GetCustomRequestHeaders(), CmdletCancellationToken).Wait();
+ }
+
+ ///
+ /// Delete protection policy
+ ///
+ ///
+ public void DeleteProtectionPolicy(string resourceGroupName, string resourceName, string policyName)
+ {
+ AzureBackupClient.CSMProtectionPolicy.DeleteAsync(resourceGroupName, resourceName, policyName, GetCustomRequestHeaders(), CmdletCancellationToken).Wait();
+ }
+
+ ///
+ /// Update specified protection policy
+ ///
+ ///
+ ///
+ public Guid UpdateProtectionPolicy(string resourceGroupName, string resourceName, string policyName, CSMUpdateProtectionPolicyRequest request)
+ {
+ var response = AzureBackupClient.CSMProtectionPolicy.UpdateAsync(resourceGroupName, resourceName, policyName, request, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return response.OperationId;
+ }
+
+ ///
+ /// Check protection policy name availability
+ ///
+ ///
+ ///
+ public void CheckProtectionPolicyNameAvailability(string resourceGroupName, string resourceName, string name)
+ {
+ var policy = GetProtectionPolicyByName(resourceGroupName, resourceName, name);
+ if (policy != null)
+ {
+ var exception = new ArgumentException(Resources.PolicyAlreadyExist);
+ throw exception;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/VaultAdapter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/VaultAdapter.cs
index 9d997c95bf7c..6c4d36b51dab 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/VaultAdapter.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupClientAdapter/VaultAdapter.cs
@@ -51,7 +51,7 @@ public AzureBackupVault CreateOrUpdateAzureBackupVault(string resourceGroupName,
/// Updates storage type of the vault identified by client
///
///
- public void UpdateStorageType(string storageType)
+ public void UpdateStorageType(string resourceGroupName, string resourceName, string storageType)
{
UpdateVaultStorageTypeRequest updateVaultStorageTypeRequest = new UpdateVaultStorageTypeRequest()
{
@@ -61,7 +61,7 @@ public void UpdateStorageType(string storageType)
},
};
- AzureBackupVaultClient.Vault.UpdateStorageTypeAsync(updateVaultStorageTypeRequest, GetCustomRequestHeaders(), CmdletCancellationToken).Wait();
+ AzureBackupVaultClient.Vault.UpdateStorageTypeAsync(resourceGroupName, resourceName, updateVaultStorageTypeRequest, GetCustomRequestHeaders(), CmdletCancellationToken).Wait();
}
///
@@ -122,9 +122,9 @@ public void DeleteVault(string resourceGroupName, string vaultName)
AzureBackupVaultClient.Vault.DeleteAsync(resourceGroupName, vaultName, GetCustomRequestHeaders(), CmdletCancellationToken).Wait();
}
- public VaultCredUploadCertResponse UploadCertificate(string certName, VaultCredUploadCertRequest request)
+ public VaultCredUploadCertResponse UploadCertificate(string resourceGroupName, string resourceName, string certName, VaultCredUploadCertRequest request)
{
- return AzureBackupVaultClient.Vault.UploadCertificateAsync(certName, request, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
+ return AzureBackupVaultClient.Vault.UploadCertificateAsync(resourceGroupName, resourceName, certName, request, GetCustomRequestHeaders(), CmdletCancellationToken).Result;
}
}
}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs
index 68e8ea0d1955..a30eb28024a3 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs
@@ -14,14 +14,19 @@
using Hyak.Common;
using Microsoft.Azure.Commands.AzureBackup.ClientAdapter;
+using Microsoft.Azure.Commands.AzureBackup.Models;
using Microsoft.Azure.Commands.AzureBackup.Properties;
using Microsoft.Azure.Common.Authentication;
using Microsoft.Azure.Common.Authentication.Models;
+using Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Management.BackupServices.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Microsoft.WindowsAzure.Management.Scheduler;
using System;
+using System.Collections.Generic;
using System.Management.Automation;
using System.Net;
+using System.Threading;
using CmdletModel = Microsoft.Azure.Commands.AzureBackup.Models;
namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
@@ -52,16 +57,16 @@ protected AzureBackupClientAdapter AzureBackupClient
protected void InitializeAzureBackupCmdlet(string rgName, string rName)
{
var cloudServicesClient = AzureSession.ClientFactory.CreateClient(Profile, Profile.Context.Subscription, AzureEnvironment.Endpoint.ResourceManager);
- azureBackupClientAdapter = new AzureBackupClientAdapter(cloudServicesClient.Credentials, cloudServicesClient.BaseUri, rgName, rName);
+ azureBackupClientAdapter = new AzureBackupClientAdapter(cloudServicesClient.Credentials, cloudServicesClient.BaseUri);
- WriteDebug(string.Format("Initialized AzureBackup Cmdlet, ClientRequestId: {0}, ResourceGroupName: {1}, ResourceName : {2}", azureBackupClientAdapter.GetClientRequestId(), rgName, rName));
+ WriteDebug(string.Format(Resources.InitializingClient, azureBackupClientAdapter.GetClientRequestId(), rgName, rName));
}
///
/// Initializes required client adapters
///
///
- protected void InitializeAzureBackupCmdlet(CmdletModel.AzurePSBackupVault vault)
+ protected void InitializeAzureBackupCmdlet(CmdletModel.AzureRMBackupVault vault)
{
InitializeAzureBackupCmdlet(vault.ResourceGroupName, vault.Name);
}
@@ -74,7 +79,7 @@ protected void ExecutionBlock(Action execAction)
}
catch (Exception exception)
{
- WriteDebug(String.Format("Caught exception, type: {0}", exception.GetType()));
+ WriteDebug(String.Format(Resources.ExceptionInExecution, exception.GetType()));
HandleException(exception);
}
}
@@ -88,7 +93,7 @@ private void HandleException(Exception exception)
if (exception is AggregateException && ((AggregateException)exception).InnerExceptions != null
&& ((AggregateException)exception).InnerExceptions.Count != 0)
{
- WriteDebug("Handling aggregate exception");
+ WriteDebug(Resources.AggregateException);
foreach (var innerEx in ((AggregateException)exception).InnerExceptions)
{
HandleException(innerEx);
@@ -105,14 +110,14 @@ private void HandleException(Exception exception)
var cloudEx = exception as CloudException;
if (cloudEx.Response != null && cloudEx.Response.StatusCode == HttpStatusCode.NotFound)
{
- WriteDebug(String.Format("Received CloudException, StatusCode: {0}", cloudEx.Response.StatusCode));
+ WriteDebug(String.Format(Resources.CloudExceptionCodeNotFound, cloudEx.Response.StatusCode));
targetEx = new Exception(Resources.ResourceNotFoundMessage);
targetErrorCategory = ErrorCategory.InvalidArgument;
}
else if (cloudEx.Error != null)
{
- WriteDebug(String.Format("Received CloudException, ErrorCode: {0}, Message: {1}", cloudEx.Error.Code, cloudEx.Error.Message));
+ WriteDebug(String.Format(Resources.CloudException, cloudEx.Error.Code, cloudEx.Error.Message));
targetErrorId = cloudEx.Error.Code;
targetErrorCategory = ErrorCategory.InvalidOperation;
@@ -121,13 +126,13 @@ private void HandleException(Exception exception)
else if (exception is WebException)
{
var webEx = exception as WebException;
- WriteDebug(string.Format("Received WebException, Response: {0}, Status: {1}", webEx.Response, webEx.Status));
+ WriteDebug(string.Format(Resources.WebException, webEx.Response, webEx.Status));
targetErrorCategory = ErrorCategory.ConnectionError;
}
else if (exception is ArgumentException || exception is ArgumentNullException)
{
- WriteDebug(string.Format("Received ArgumentException"));
+ WriteDebug(string.Format(Resources.ArgumentException));
targetErrorCategory = ErrorCategory.InvalidArgument;
}
@@ -135,6 +140,57 @@ private void HandleException(Exception exception)
WriteError(errorRecord);
}
}
+
+ ///
+ /// Get status of long running operation
+ ///
+ ///
+ ///
+ internal CSMOperationResult GetOperationStatus(string resourceGroupName, string resourceName, Guid operationId)
+ {
+ return AzureBackupClient.GetOperationStatus(resourceGroupName, resourceName, operationId.ToString());
+ }
+
+ private const int defaultOperationStatusRetryTimeInMilliSec = 10 * 1000; // 10 sec
+
+ ///
+ /// Track completion of long running operation
+ ///
+ ///
+ /// In Millisec
+ ///
+ internal CSMOperationResult TrackOperation(string resourceGroupName, string resourceName, Guid operationId, int checkFrequency = defaultOperationStatusRetryTimeInMilliSec)
+ {
+ CSMOperationResult response = null;
+
+ while (true)
+ {
+ response = GetOperationStatus(resourceGroupName, resourceName, operationId);
+
+ if (response.Status != CSMAzureBackupOperationStatus.InProgress.ToString())
+ {
+ WriteDebug(String.Format(Resources.OperationStatus, response.Status));
+ break;
+ }
+
+ Thread.Sleep(checkFrequency);
+ }
+
+ return response;
+ }
+
+ internal IList GetCreatedJobs(string resourceGroupName, string resourceName, AzureRMBackupVault vault, IList jobIds)
+ {
+ IList jobs = new List();
+
+ foreach (string jobId in jobIds)
+ {
+ CSMJobDetailsResponse job = AzureBackupClient.GetJobDetails(resourceGroupName, resourceName, jobId);
+ jobs.Add(new AzureRMBackupJob(vault, job.JobDetailedProperties, job.Name));
+ }
+
+ return jobs;
+ }
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs
index 7d8dd45e1b4b..46d975b9255b 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs
@@ -27,5 +27,71 @@ internal static class AzureBackupCmdletHelpMessage
public const string ContainerRegistrationStatus = "The container registration status.";
public const string ContainerType = "The container type.";
public const string AzureBackupContainer = "Azure Backup Container for Azure Backup Item.";
+
+ public const string PolicyName = "The protection policy name.";
+ public const string ResourceTags = "A hash table which represents resource tags.";
+ public const string ContainerId = "The container ID.";
+
+ public const string JobFilterJobIdHelpMessage = "The job ID to filter jobs";
+ public const string JobFilterJobHelpMessage = "The job for filtering";
+ public const string JobFilterStartTimeHelpMessage = "The start time of query range";
+ public const string JobFilterEndTimeHelpMessage = "The end time of query range";
+ public const string JobFilterOperationHelpMessage = "The operation for filtering jos";
+ public const string JobFilterStatusHelpMessage = "The status for filtering jobs";
+ public const string JobFitlerVaultHelpMessage = "The vault of which jobs have to be filtered";
+ public const string JobFilterTypeHelpMessage = "The type of workload whose jobs have to be filtered";
+
+ public const string JobDetailsFilterJobIdHelpMessage = "The job ID to get details";
+ public const string JobDetailsFilterVaultHelpMessage = "The vault of which job details should be fetched";
+ public const string JobDetailsFilterJobHelpMessage = "The job whose full details should be fetched";
+
+ public const string StopJobFilterJobIdHelpMessage = "The job ID to stop job";
+ public const string StopJobFilterVaultHelpMessage = "The vault of which a job has to be stopped";
+ public const string StopJobFilterJobHelpMessage = "The job which should be stopped";
+
+ public const string WaitJobFilterJobIdHelpMessage = "The job ID to stop job";
+ public const string WaitJobFilterVaultHelpMessage = "The vault of which a job has to be stopped";
+ public const string WaitJobFilterJobHelpMessage = "The job which should be stopped";
+ public const string WaitJobFilterTimeoutHelpMessage = "Maximum number of seconds for which cmdlet should wait before job(s) complete running.";
+
+ public const string VirtualMachine = "Virtual Machine.";
+ public const string ProtectionStatus = "Protection Status of the azure backup item.";
+ public const string AzureBackUpItem = "Azure BackUp Item.";
+ public const string RecoveryPointId = "Recovery Point Id.";
+ public const string StorageAccountName = "Storage Account Name.";
+ public const string AzureBackUpRecoveryPoint = "Recovery Point.";
+ public const string Type = "Type of Azure Backup Item.";
+ public const string Status = "Status of Azure Backup Item";
+ public const string AzureBackupItem = "Azure Backup Item for enabling protection";
+ public const string RemoveProtectionOption = "Remove Protection Option";
+ public const string Reason = "Reson for removing protection";
+ public const string Comments = "Comments for for removing protection";
+ public const string WorkloadType = "Workload type for which the policy is defined.";
+ public const string BackupType = "Type of backup.";
+ public const string DailyScheduleType = "Switch parameter for daily backup schedule.";
+ public const string WeeklyScheduleType = "Switch parameter for weekly backup schedule.";
+ public const string ScheduleRunDays = "Days of week for running backup, required for weekly schedule.";
+ public const string ScheduleRunTimes = "Times of day in UTC for running backup.";
+ public const string RetentionType = "Unit of retention for the recovery point.";
+ public const string RententionDuration = "Duration of retention for the recovery point in units specified by RetentionType.";
+ public const string PolicyNewName = "Policy new name";
+ public const string AzureBackupPolicy = "Azure Backup protection policy";
+ public const string VMName = "Azure VM name to be register";
+ public const string ServiceName = "Cloud service name of Azure VM to be register";
+ public const string RGName = "Resource Group name of Azure VM to be register";
+ public const string AzureBackupContainerToUnregister = "Azure Backup Container tobe unregister.";
+
+ public const string RetentionPolicyList = "List of Retention Policies to be associated with protection policy.";
+ public const string DailyRetention = "Switch param for Daily Retention";
+ public const string WeeklyRetention = "Switch param for Daily Retention";
+ public const string MonthlyRetentionInDailyFormat = "Switch param for MonthlyRetentionInDailyFormat";
+ public const string MonthlyRetentionInWeeklyFormat = "Switch param for MonthlyRetentionInWeeklyFormat";
+ public const string YearlyRetentionInDailyFormat = "Switch param for YearlyRetentionInDailyFormat";
+ public const string YearlyRetentionInWeeklyFormat = "Switch param for YearlyRetentionInWeeklyFormat";
+ public const string DaysOfWeek = "List of Days of Week";
+ public const string DaysOfMonth = "List of Days of Month";
+ public const string WeekNumber = "List of Week Numbers of the month";
+ public const string MonthsOfYear = "List of Months of the year";
+ public const string Retention = "Retention duration value";
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupContainerCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupContainerCmdletBase.cs
index b1b623d832c6..8a70d8635362 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupContainerCmdletBase.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupContainerCmdletBase.cs
@@ -31,13 +31,13 @@ public abstract class AzureBackupContainerCmdletBase : AzureBackupCmdletBase
{
[Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackupContainer, ValueFromPipeline = true)]
[ValidateNotNullOrEmpty]
- public AzureBackupContainer Container { get; set; }
+ public AzureRMBackupContainer Container { get; set; }
public override void ExecuteCmdlet()
{
base.ExecuteCmdlet();
- WriteDebug(String.Format("Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}, Location: {2}", Container.ResourceGroupName, Container.ResourceName, Container.Location));
+ WriteDebug(String.Format(Resources.CmdletCalled, Container.ResourceGroupName, Container.ResourceName, Container.Location));
InitializeAzureBackupCmdlet(Container.ResourceGroupName, Container.ResourceName);
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupDSCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupDSCmdletBase.cs
new file mode 100644
index 000000000000..74455d5fefd4
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupDSCmdletBase.cs
@@ -0,0 +1,46 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ public abstract class AzureRMBackupDSCmdletBase : AzureBackupCmdletBase
+ {
+ [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackUpItem, ValueFromPipeline = true)]
+ [ValidateNotNullOrEmpty]
+ public AzureRMBackupItem Item { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ WriteDebug(String.Format(Resources.CmdletCalled, Item.ResourceGroupName, Item.ResourceName, Item.Location));
+
+ InitializeAzureBackupCmdlet(Item.ResourceGroupName, Item.ResourceName);
+ }
+ }
+}
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupItemCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupItemCmdletBase.cs
new file mode 100644
index 000000000000..fdad61ff1125
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupItemCmdletBase.cs
@@ -0,0 +1,44 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ public abstract class AzureRMBackupItemCmdletBase : AzureBackupCmdletBase
+ {
+ [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackupItem, ValueFromPipeline = true)]
+ [ValidateNotNullOrEmpty]
+ public AzureRMBackupContainerContextObject Item { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ WriteDebug(String.Format(Resources.CmdletCalled, Item.ResourceGroupName, Item.ResourceName, Item.Location));
+ InitializeAzureBackupCmdlet(Item.ResourceGroupName, Item.ResourceName);
+ }
+ }
+}
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupPolicyCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupPolicyCmdletBase.cs
new file mode 100644
index 000000000000..fd3448384205
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupPolicyCmdletBase.cs
@@ -0,0 +1,49 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ public abstract class AzureBackupPolicyCmdletBase : AzureBackupCmdletBase
+ {
+ // ToDO:
+ // Correct Help message and other attributes related to paameters
+ [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.AzureBackupPolicy, ValueFromPipeline = true)]
+ [ValidateNotNullOrEmpty]
+ public AzureRMBackupProtectionPolicy ProtectionPolicy { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ WriteDebug(String.Format(Resources.CmdletCalled,
+ ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, ProtectionPolicy.Location));
+
+ InitializeAzureBackupCmdlet(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupVaultCmdletBase.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupVaultCmdletBase.cs
index 9ceac2e2fe68..7b25d97ca401 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupVaultCmdletBase.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupVaultCmdletBase.cs
@@ -21,7 +21,7 @@ public abstract class AzureBackupVaultCmdletBase : AzureBackupCmdletBase
{
[Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ValueFromPipeline = true)]
[ValidateNotNullOrEmpty]
- public AzurePSBackupVault Vault { get; set; }
+ public AzureRMBackupVault Vault { get; set; }
public override void ExecuteCmdlet()
{
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs
new file mode 100644
index 000000000000..dff9d4cb385c
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs
@@ -0,0 +1,49 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using MBS = Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Backup Azue Backup Item
+ ///
+ [Cmdlet(VerbsData.Backup, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupJob))]
+ public class BackupAzureRMBackupItem : AzureRMBackupDSCmdletBase
+ {
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+
+ WriteDebug(Resources.MakingClientCall);
+ Guid operationId = AzureBackupClient.TriggerBackup(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName);
+
+ WriteDebug(string.Format(Resources.TriggeringBackup, operationId));
+
+ var operationStatus = TrackOperation(Item.ResourceGroupName, Item.ResourceName, operationId);
+ WriteObject(GetCreatedJobs(Item.ResourceGroupName, Item.ResourceName, new Models.AzureRMBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location), operationStatus.JobList).FirstOrDefault());
+ });
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureBackupContainerReregistration.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs
similarity index 86%
rename from src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureBackupContainerReregistration.cs
rename to src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs
index 4ae62420fa63..7fe6cc352f75 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureBackupContainerReregistration.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs
@@ -33,8 +33,8 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Enables reregistration of a machine container
///
- [Cmdlet(VerbsLifecycle.Enable, "AzureBackupContainerReregistration")]
- public class EnableAzureBackupContainerReregistration : AzureBackupContainerCmdletBase
+ [Cmdlet(VerbsLifecycle.Enable, "AzureRMBackupContainerReregistration")]
+ public class EnableAzureRMBackupContainerReregistration : AzureBackupContainerCmdletBase
{
public override void ExecuteCmdlet()
{
@@ -47,10 +47,10 @@ public override void ExecuteCmdlet()
{
case AzureBackupContainerType.Windows:
case AzureBackupContainerType.SCDPM:
- AzureBackupClient.EnableMachineContainerReregistration(Container.Id);
+ AzureBackupClient.EnableMachineContainerReregistration(Container.ResourceGroupName, Container.ResourceName, Container.Id);
break;
default:
- throw new ArgumentException("Reregistration can be enable only for machine containers.");
+ throw new ArgumentException(Resources.CannotEnableRegistration);
}
});
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureBackupContainer.cs
deleted file mode 100644
index fd5bcb2d6b3c..000000000000
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureBackupContainer.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.AzureBackup.Helpers;
-using Microsoft.Azure.Commands.AzureBackup.Library;
-using Microsoft.Azure.Commands.AzureBackup.Models;
-using Microsoft.Azure.Management.BackupServices.Models;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Management.Automation;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
-{
- ///
- /// Get list of containers
- ///
- [Cmdlet(VerbsCommon.Get, "AzureBackupContainer"), OutputType(typeof(List))]
- public class GetAzureBackupContainer : AzureBackupVaultCmdletBase
- {
- [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ManagedResourceName)]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ContainerType)]
- [ValidateNotNullOrEmpty]
- public AzureBackupContainerType Type { get; set; }
-
- public override void ExecuteCmdlet()
- {
- ExecutionBlock(() =>
- {
- base.ExecuteCmdlet();
-
- List containers = new List();
-
- switch (Type)
- {
- case AzureBackupContainerType.Windows:
- case AzureBackupContainerType.SCDPM:
- containers.AddRange(GetMachineContainers());
- break;
- default:
- break;
- }
-
- WriteObject(containers);
- });
- }
-
- private List GetMachineContainers()
- {
- List marsContainerResponses = new List();
- if (string.IsNullOrEmpty(Name))
- {
- marsContainerResponses.AddRange(AzureBackupClient.ListMachineContainers());
- }
- else
- {
- marsContainerResponses.AddRange(AzureBackupClient.ListMachineContainers(Name));
- }
-
- return marsContainerResponses.ConvertAll(marsContainerResponse =>
- {
- return new AzureBackupContainer(Vault, marsContainerResponse);
- }).Where(container => container.ContainerType == Type.ToString()).ToList();
- }
- }
-}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs
new file mode 100644
index 000000000000..4a60561d17c8
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs
@@ -0,0 +1,151 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.AzureBackup.Helpers;
+using Microsoft.Azure.Commands.AzureBackup.Library;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using Microsoft.Azure.Management.BackupServices.Models;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Get list of containers
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRMBackupContainer"), OutputType(typeof(List))]
+ public class GetAzureRMBackupContainer : AzureBackupVaultCmdletBase
+ {
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ManagedResourceName)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ContainerType)]
+ [ValidateNotNullOrEmpty]
+ public AzureBackupContainerType Type { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ManagedResourceGroupName)]
+ [ValidateNotNullOrEmpty]
+ public string ManagedResourceGroupName { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ContainerRegistrationStatus)]
+ [ValidateNotNullOrEmpty]
+ public AzureBackupContainerRegistrationStatus Status { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+
+ List containers = new List();
+
+ switch (Type)
+ {
+ case AzureBackupContainerType.Windows:
+ case AzureBackupContainerType.SCDPM:
+ containers.AddRange(GetMachineContainers(Vault.ResourceGroupName, Vault.Name));
+ break;
+ case AzureBackupContainerType.AzureVM:
+ containers.AddRange(GetManagedContainers(Vault.ResourceGroupName, Vault.Name));
+ break;
+ default:
+ break;
+ }
+
+ if (containers.Count == 1)
+ {
+ WriteObject(containers.First());
+ }
+ else
+ {
+ WriteObject(containers);
+ }
+ });
+ }
+
+ private List GetMachineContainers(string resourceGroupName, string resourceName)
+ {
+ List marsContainerResponses = new List();
+
+ // Machine containers are always registered.
+ // So if requested Status is not Registered, return an empty list.
+ // Machine containers don't have a resource group.
+ // So, if a resource group is passed, return an empty list.
+ if (Status == AzureBackupContainerRegistrationStatus.NotRegistered ||
+ Status == AzureBackupContainerRegistrationStatus.Registering ||
+ !string.IsNullOrEmpty(ManagedResourceGroupName))
+ {
+ return new List();
+ }
+
+ if (string.IsNullOrEmpty(Name))
+ {
+ marsContainerResponses.AddRange(AzureBackupClient.ListMachineContainers(resourceGroupName, resourceName));
+ }
+ else
+ {
+ marsContainerResponses.AddRange(AzureBackupClient.ListMachineContainers(resourceGroupName, resourceName, Name));
+ }
+
+ return marsContainerResponses.ConvertAll(marsContainerResponse =>
+ {
+ return new AzureRMBackupContainer(Vault, marsContainerResponse);
+ }).Where(container => container.ContainerType == Type.ToString()).ToList();
+ }
+
+ private List GetManagedContainers(string resourceGroupName, string resourceName)
+ {
+ List managedContainers = new List();
+
+ ContainerQueryParameters parameters = new ContainerQueryParameters();
+ parameters.ContainerType = ManagedContainerType.IaasVM.ToString();
+ parameters.FriendlyName = Name;
+ if (Status != 0)
+ {
+ parameters.Status = Status.ToString();
+ }
+
+ List containers = new List();
+ containers.AddRange(AzureBackupClient.ListContainers(resourceGroupName, resourceName, parameters));
+ WriteDebug(string.Format(Resources.FetchedContainer , containers.Count()));
+
+ // When resource group name is specified, remove all containers whose resource group name
+ // doesn't match the given resource group name
+ if (!string.IsNullOrEmpty(ManagedResourceGroupName))
+ {
+ containers.RemoveAll(container =>
+ {
+ string rgName = ContainerHelpers.GetRGNameFromId(container.Properties.ParentContainerId);
+ return rgName != ManagedResourceGroupName;
+ });
+ WriteDebug(string.Format(Resources.ContainerCountAfterFilter, containers.Count));
+ }
+
+ // TODO: Container friendly name is not captures in Container response
+ // BUG: Friendly name was previously assigned to ResourceName (vault name)
+ managedContainers.AddRange(containers.ConvertAll(container =>
+ {
+ return new AzureRMBackupContainer(Vault, container);
+ }));
+
+ return managedContainers;
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs
new file mode 100644
index 000000000000..aac86a2f5ebd
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs
@@ -0,0 +1,191 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Web;
+using System.Collections.Generic;
+using System.Collections.Specialized;
+using System.Linq;
+using System.Management.Automation;
+using System.Text;
+using System.Threading.Tasks;
+using Microsoft.Azure.Management.BackupServices.Models;
+using MBS = Microsoft.Azure.Management.BackupServices;
+using Microsoft.WindowsAzure.Commands.ServiceManagement.Model;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Helpers;
+using Microsoft.Azure.Management.BackupServices;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Get list of containers
+ ///
+ [Cmdlet(VerbsLifecycle.Register, "AzureRMBackupContainer", DefaultParameterSetName = V1VMParameterSet), OutputType(typeof(AzureRMBackupJob))]
+ public class RegisterAzureRMBackupContainer : AzureBackupVaultCmdletBase
+ {
+ internal const string V1VMParameterSet = "V1VM";
+ internal const string V2VMParameterSet = "V2VM";
+
+ [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = V1VMParameterSet, HelpMessage = AzureBackupCmdletHelpMessage.VMName)]
+ [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = V2VMParameterSet, HelpMessage = AzureBackupCmdletHelpMessage.VMName)]
+ public string Name { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = V1VMParameterSet, HelpMessage = AzureBackupCmdletHelpMessage.ServiceName)]
+ public string ServiceName { get; set; }
+
+ [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = V2VMParameterSet, HelpMessage = AzureBackupCmdletHelpMessage.RGName)]
+ public string ResourceGroupName { get; set; }
+
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+
+ string vmName = String.Empty;
+ string rgName = String.Empty;
+ string ServiceOrRG = String.Empty;
+
+ if(this.ParameterSetName == V1VMParameterSet)
+ {
+ vmName = Name;
+ rgName = ServiceName;
+ WriteDebug(String.Format(Resources.RegisteringARMVM1, vmName, rgName));
+ ServiceOrRG = "CloudServiceName";
+ }
+ else if(this.ParameterSetName == V2VMParameterSet)
+ {
+ vmName = Name;
+ rgName = ResourceGroupName;
+ WriteDebug(String.Format(Resources.RegisteringARMVM2, vmName, rgName));
+ ServiceOrRG = "ResourceGroupName";
+ }
+
+ else
+ {
+ throw new PSArgumentException(Resources.PSArgumentException); //TODO: PM scrub needed
+ }
+
+ Guid jobId = Guid.Empty;
+ bool isDiscoveryNeed = false;
+
+ CSMContainerResponse container = null;
+ isDiscoveryNeed = IsDiscoveryNeeded(vmName, rgName, out container);
+ if(isDiscoveryNeed)
+ {
+ WriteDebug(String.Format(Resources.VMNotDiscovered, vmName));
+ RefreshContainer(Vault.ResourceGroupName, Vault.Name);
+ isDiscoveryNeed = IsDiscoveryNeeded(vmName, rgName, out container);
+ if ((isDiscoveryNeed == true) || (container == null))
+ {
+ //Container is not discovered. Throw exception
+ string errMsg = String.Format(Resources.DiscoveryFailure, vmName, ServiceOrRG, rgName);
+ WriteDebug(errMsg);
+ ThrowTerminatingError(new ErrorRecord(new Exception(Resources.AzureVMNotFound), string.Empty, ErrorCategory.InvalidArgument, null));
+ }
+ }
+
+ //Container is discovered. Register the container
+ WriteDebug(String.Format(Resources.RegisteringVM, vmName));
+ var operationId = AzureBackupClient.RegisterContainer(Vault.ResourceGroupName, Vault.Name, container.Name);
+
+ var operationStatus = GetOperationStatus(Vault.ResourceGroupName, Vault.Name, operationId);
+ WriteObject(GetCreatedJobs(Vault.ResourceGroupName, Vault.Name, Vault, operationStatus.JobList).FirstOrDefault());
+ });
+ }
+
+ private void RefreshContainer(string resourceGroupName, string resourceName)
+ {
+ bool isRetryNeeded = true;
+ int retryCount = 1;
+ bool isDiscoverySuccessful = false;
+ string errorMessage = string.Empty;
+ while (isRetryNeeded && retryCount <= 3)
+ {
+ var operationId = AzureBackupClient.RefreshContainers(resourceGroupName, resourceName);
+
+ //Now wait for the operation to Complete
+ isRetryNeeded = WaitForDiscoveryToComplete(resourceGroupName, resourceName, operationId, out isDiscoverySuccessful, out errorMessage);
+ retryCount++;
+ }
+
+ if (!isDiscoverySuccessful)
+ {
+ ThrowTerminatingError(new ErrorRecord(new Exception(errorMessage), string.Empty, ErrorCategory.InvalidArgument, null));
+ }
+ }
+
+ private bool WaitForDiscoveryToComplete(string resourceGroupName, string resourceName, Guid operationId, out bool isDiscoverySuccessful, out string errorMessage)
+ {
+ bool isRetryNeeded = false;
+ var status = TrackOperation(resourceGroupName, resourceName, operationId);
+ errorMessage = String.Empty;
+
+ isDiscoverySuccessful = true;
+ //If operation fails check if retry is needed or not
+ if (status.Status != CSMAzureBackupOperationStatus.Succeeded.ToString())
+ {
+ isDiscoverySuccessful = false;
+ errorMessage = status.Error.Message;
+ WriteDebug(String.Format(Resources.DiscoveryFailureErrorCode, status.Error.Code));
+ if ((status.Error.Code == AzureBackupOperationErrorCode.DiscoveryInProgress.ToString() ||
+ (status.Error.Code == AzureBackupOperationErrorCode.BMSUserErrorObjectLocked.ToString())))
+ {
+ //Need to retry for this errors
+ isRetryNeeded = true;
+ WriteDebug(String.Format(Resources.RertyDiscovery));
+ }
+ }
+ return isRetryNeeded;
+ }
+
+ private bool IsDiscoveryNeeded(string vmName, string rgName, out CSMContainerResponse container)
+ {
+ bool isDiscoveryNeed = false;
+ ContainerQueryParameters parameters = new ContainerQueryParameters()
+ {
+ ContainerType = ManagedContainerType.IaasVM.ToString(),
+ FriendlyName = vmName,
+ Status = AzureBackupContainerRegistrationStatus.NotRegistered.ToString(),
+ };
+
+ //First check if container is discovered or not
+ var containers = AzureBackupClient.ListContainers(Vault.ResourceGroupName, Vault.Name, parameters);
+ WriteDebug(String.Format(Resources.ContainerCountFromService, containers.Count()));
+ if (containers.Count() == 0)
+ {
+ //Container is not discover
+ WriteDebug(Resources.ContainerNotDiscovered);
+ container = null;
+ isDiscoveryNeed = true;
+ }
+
+ else
+ {
+ //We can have multiple container with same friendly name.
+ container = containers.Where(c => ContainerHelpers.GetRGNameFromId(c.Properties.ParentContainerId).Equals(rgName.ToLower())).FirstOrDefault(); //TODO need to change.
+ if (container == null)
+ {
+ //Container is not in list of registered container
+ WriteDebug(String.Format(Resources.DesiredContainerNotFound));
+ isDiscoveryNeed = true;
+ }
+ }
+ return isDiscoveryNeed;
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs
similarity index 72%
rename from src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureBackupContainer.cs
rename to src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs
index 9b02d0e5530a..08f4b8e4e912 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureBackupContainer.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs
@@ -31,8 +31,8 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Get list of containers
///
- [Cmdlet(VerbsLifecycle.Unregister, "AzureBackupContainer")]
- public class UnregisterAzureBackupContainer : AzureBackupContainerCmdletBase
+ [Cmdlet(VerbsLifecycle.Unregister, "AzureRMBackupContainer")]
+ public class UnregisterAzureRMBackupContainer : AzureBackupContainerCmdletBase
{
private PowerShellCustomConfirmation customerConfirmation;
@@ -45,13 +45,16 @@ public override void ExecuteCmdlet()
{
base.ExecuteCmdlet();
- AzureBackupContainerType containerType = (AzureBackupContainerType)Enum.Parse(typeof(AzureBackupContainerType), Container.ContainerType);
+ AzureBackupContainerType containerType = (AzureBackupContainerType)Enum.Parse(typeof(AzureBackupContainerType), Container.ContainerType, true);
switch (containerType)
{
case AzureBackupContainerType.Windows:
case AzureBackupContainerType.SCDPM:
DeleteServer();
break;
+ case AzureBackupContainerType.AzureVM:
+ UnregisterContainer();
+ break;
default:
break;
}
@@ -70,8 +73,19 @@ private void DeleteServer()
if (shouldUnregister)
{
- AzureBackupClient.UnregisterMachineContainer(Container.Id);
+ AzureBackupClient.UnregisterMachineContainer(Container.ResourceGroupName, Container.ResourceName, Container.Id);
}
}
+
+ private void UnregisterContainer()
+ {
+ string containerUniqueName = Container.ContainerUniqueName;
+ var operationId = AzureBackupClient.UnRegisterContainer(Container.ResourceGroupName, Container.ResourceName, containerUniqueName);
+
+ WriteObject(GetCreatedJobs(Container.ResourceGroupName,
+ Container.ResourceName,
+ new Models.AzureRMBackupVault(Container.ResourceGroupName, Container.ResourceName, Container.Location),
+ GetOperationStatus(Container.ResourceGroupName, Container.ResourceName, operationId).JobList).FirstOrDefault());
+ }
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs
new file mode 100644
index 000000000000..ef40407e65df
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs
@@ -0,0 +1,84 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Management.BackupServices.Models;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets.DataSource
+{
+ ///
+ /// Disable Azure Backup protection
+ ///
+ [Cmdlet(VerbsLifecycle.Disable, "AzureRMBackupProtection"), OutputType(typeof(AzureRMBackupJob))]
+ public class DisableAzureRMBackupProtection : AzureRMBackupDSCmdletBase
+ {
+ [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RemoveProtectionOption)]
+ public SwitchParameter RemoveRecoveryPoints
+ {
+ get { return DeleteBackupData; }
+ set { DeleteBackupData = value; }
+ }
+ private bool DeleteBackupData;
+
+ [Parameter(Position = 2, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.Reason)]
+ public string Reason { get; set; }
+
+ [Parameter(Position = 3, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.Comments)]
+ public string Comments { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+ Guid operationId = Guid.Empty;
+ WriteDebug(Resources.MakingClientCall);
+
+ if (!this.DeleteBackupData)
+ {
+ //Calling update protection with policy Id as empty.
+ CSMUpdateProtectionRequest input = new CSMUpdateProtectionRequest()
+ {
+ Properties = new CSMUpdateProtectionRequestProperties(string.Empty)
+ };
+
+ operationId = AzureBackupClient.UpdateProtection(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName, input);
+ }
+
+ else
+ {
+ //Calling disable protection
+ operationId = AzureBackupClient.DisableProtection(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName);
+ }
+
+
+ WriteDebug(Resources.DisableAzureBackupProtection);
+ var operationStatus = TrackOperation(Item.ResourceGroupName, Item.ResourceName, operationId);
+ this.WriteObject(GetCreatedJobs(Item.ResourceGroupName,
+ Item.ResourceName,
+ new Models.AzureRMBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location),
+ operationStatus.JobList).FirstOrDefault());
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs
new file mode 100644
index 000000000000..1c7a6f518c05
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs
@@ -0,0 +1,87 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using MBS = Microsoft.Azure.Management.BackupServices;
+using System.Runtime.Serialization;
+using Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Enable Azure Backup protection
+ ///
+ [Cmdlet(VerbsLifecycle.Enable, "AzureRMBackupProtection"), OutputType(typeof(AzureRMBackupJob))]
+ public class EnableAzureRMBackupProtection : AzureRMBackupItemCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.PolicyName)]
+ [ValidateNotNullOrEmpty]
+ public AzureRMBackupProtectionPolicy Policy { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+
+ WriteDebug(Resources.MakingClientCall);
+ string itemName = string.Empty;
+
+ CSMSetProtectionRequest input = new CSMSetProtectionRequest();
+ input.Properties = new CSMSetProtectionRequestProperties();
+ input.Properties.PolicyId = Policy.PolicyId;
+
+ if (Item.GetType() == typeof(AzureRMBackupItem))
+ {
+ itemName = (Item as AzureRMBackupItem).ItemName;
+ }
+
+ else if (Item.GetType() == typeof(AzureRMBackupContainer))
+ {
+ WriteDebug(String.Format(Resources.ContainerTypeInput, Item.GetType()));
+
+ if ((Item as AzureRMBackupContainer).ContainerType == AzureBackupContainerType.AzureVM.ToString())
+ {
+ itemName = (Item as AzureRMBackupContainer).ContainerUniqueName;
+ }
+ else
+ {
+ throw new Exception(Resources.UnknownItemType);
+ }
+ }
+
+ else
+ {
+ throw new Exception(Resources.UnknownItemType);
+ }
+
+ var operationId = AzureBackupClient.EnableProtection(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, itemName, input);
+ WriteDebug(Resources.EnableAzureBackupProtection);
+
+ var operationStatus = TrackOperation(Item.ResourceGroupName, Item.ResourceName, operationId);
+ this.WriteObject(GetCreatedJobs(Item.ResourceGroupName,
+ Item.ResourceName,
+ new Models.AzureRMBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location),
+ operationStatus.JobList).FirstOrDefault());
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs
new file mode 100644
index 000000000000..a0e6495bde0b
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs
@@ -0,0 +1,144 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using System.Runtime.Serialization;
+using System.Collections.Specialized;
+using Microsoft.Azure.Common.OData;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Get list of azure backup items
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupItem), typeof(List))]
+ public class GetAzureRMBackupItem : AzureBackupContainerCmdletBase
+ {
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ProtectionStatus)]
+ [ValidateSet("Protected", "Protecting", "NotProtected")]
+ public string ProtectionStatus { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.Status)]
+ [ValidateSet("IRPending", "ProtectionStopped", "ProtectionError", "Protected")]
+ public string Status { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.Type)]
+ [ValidateSet("AzureVM")]
+ public string Type { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+
+ List azureBackupDatasourceObjects = null;
+ List azureBackupPOObjects = null;
+
+ WriteDebug(Resources.MakingClientCall);
+ CSMProtectedItemQueryObject DSQueryParam = new CSMProtectedItemQueryObject()
+ {
+ ProtectionStatus = this.ProtectionStatus,
+ Status = this.Status,
+ Type = GetItemType(this.Type)
+ };
+
+ CSMItemQueryObject POQueryParam = new CSMItemQueryObject()
+ {
+ Status = this.ProtectionStatus,
+ Type = GetItemType(this.Type)
+ };
+
+ var azureBackupDatasourceListResponse = AzureBackupClient.ListDataSources(Container.ResourceGroupName, Container.ResourceName, DSQueryParam);
+
+ if (azureBackupDatasourceListResponse != null)
+ {
+ azureBackupDatasourceObjects = azureBackupDatasourceListResponse.Where(x => x.Properties.ContainerId.Split('/').Last().Equals(Container.ContainerUniqueName, System.StringComparison.InvariantCultureIgnoreCase)).ToList();
+ }
+
+ if (this.Status == null)
+ {
+ var azureBackupPOListResponse = AzureBackupClient.ListProtectableObjects(Container.ResourceGroupName, Container.ResourceName, POQueryParam);
+ if (azureBackupPOListResponse != null)
+ {
+ azureBackupPOObjects = azureBackupPOListResponse.Where(x => x.Properties.ContainerId.Split('/').Last().Equals(Container.ContainerUniqueName, System.StringComparison.InvariantCultureIgnoreCase)).ToList();
+ }
+ }
+
+ WriteDebug(Resources.AzureBackupItemResponse);
+ WriteAzureBackupItem(azureBackupDatasourceObjects, azureBackupPOObjects, Container);
+ });
+ }
+
+ public void WriteAzureBackupItem(CSMProtectedItemResponse sourceItem, AzureRMBackupContainer azureBackupItem)
+ {
+ this.WriteObject(new AzureRMBackupItem(sourceItem, azureBackupItem));
+ }
+
+ public void WriteAzureBackupItem(List sourceDataSourceList, List sourcePOList, AzureRMBackupContainer azureBackupContainer)
+ {
+ List targetList = new List();
+
+ if (sourceDataSourceList != null)
+ {
+ foreach (var item in sourceDataSourceList)
+ {
+ targetList.Add(new AzureRMBackupItem(item, azureBackupContainer));
+ }
+ }
+
+ if (sourcePOList != null)
+ {
+ foreach (var item in sourcePOList)
+ {
+ //If user has stopped protection for some datasoure then we will have duplicate items(po and ds).
+ //So in this case removing po items from the list.
+ if (targetList.FindIndex(element => element.ItemName == item.Name) < 0)
+ {
+ targetList.Add(new AzureRMBackupItem(item, azureBackupContainer));
+ }
+ }
+ }
+
+ if (targetList.Count() == 1)
+ {
+ this.WriteObject(targetList.First(), true);
+ }
+ else
+ {
+ this.WriteObject(targetList, true);
+ }
+ }
+
+ public string GetItemType(string sourceType)
+ {
+ string result = null;
+
+ if(sourceType == "AzureVM")
+ {
+ result = AzureBackupItemType.IaasVM.ToString();
+ }
+
+ return result;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/AzureBackupJobHelper.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/AzureBackupJobHelper.cs
new file mode 100644
index 000000000000..fca51c85086b
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/AzureBackupJobHelper.cs
@@ -0,0 +1,90 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Mgmt = Microsoft.Azure.Management.BackupServices.Models;
+
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ public enum JobStatus
+ {
+ Invalid = 0,
+
+ InProgress,
+
+ Completed,
+
+ Failed,
+
+ CompletedWithWarnings,
+
+ Cancelled,
+
+ Cancelling
+ }
+
+ public enum JobOperationType
+ {
+ Invalid = 0,
+
+ Register,
+
+ ConfigureBackup,
+
+ Backup,
+
+ Restore,
+
+ UnProtect,
+
+ DeleteBackupData,
+
+ Unregister
+ }
+
+ public static class AzureBackupJobHelper
+ {
+ public static DateTime MinimumAllowedDate = new DateTime(DateTime.MinValue.Year, DateTime.MinValue.Month, DateTime.MinValue.Day, DateTime.MinValue.Hour, DateTime.MinValue.Minute, DateTime.MinValue.Second, DateTimeKind.Utc);
+
+ public static bool IsValidStatus(string inputStatus)
+ {
+ JobStatus status;
+ if(!Enum.TryParse(inputStatus, out status) || status == JobStatus.Invalid)
+ {
+ return false;
+ }
+ return true;
+ }
+
+ public static bool IsValidOperationType(string inputOperationType)
+ {
+ JobOperationType operationType;
+ if(!Enum.TryParse(inputOperationType, out operationType) || operationType == JobOperationType.Invalid)
+ {
+ return false;
+ }
+ return true;
+ }
+
+ public static bool IsJobRunning(string status)
+ {
+ return ((status.CompareTo("InProgress") == 0) || (status.CompareTo("Cancelling") == 0));
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs
new file mode 100644
index 000000000000..0c8a35f7cd73
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs
@@ -0,0 +1,170 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using System.Web;
+using Microsoft.Azure.Management.BackupServices;
+using Mgmt = Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Get list of jobs pertaining to the filters specified. Gets list of all jobs created in the last 24 hours if no filters are specified.
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRMBackupJob", DefaultParameterSetName = "FiltersSet"), OutputType(typeof(List), typeof(AzureRMBackupJob))]
+ public class GetAzureRMBackupJob : AzureBackupCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "FiltersSet", ValueFromPipeline = true)]
+ [ValidateNotNull]
+ public AzureRMBackupVault Vault { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterJobIdHelpMessage, ParameterSetName = "FiltersSet")]
+ [ValidateNotNullOrEmpty]
+ public string JobId { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterJobHelpMessage, ParameterSetName = "JobsListFilter")]
+ [ValidateNotNull]
+ public AzureRMBackupJob Job { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterStartTimeHelpMessage, ParameterSetName = "FiltersSet")]
+ [ValidateNotNull]
+ public DateTime? From { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterEndTimeHelpMessage, ParameterSetName = "FiltersSet")]
+ [ValidateNotNull]
+ public DateTime? To { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterStatusHelpMessage, ParameterSetName = "FiltersSet")]
+ [ValidateSet("Cancelled", "Cancelling", "Completed", "CompletedWithWarnings", "Failed", "InProgress")]
+ public string Status { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterTypeHelpMessage, ParameterSetName = "FiltersSet")]
+ [ValidateSet("IaasVM")]
+ public string Type { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.JobFilterOperationHelpMessage, ParameterSetName = "FiltersSet")]
+ [ValidateSet("Backup", "ConfigureBackup", "DeleteBackupData", "Register", "Restore", "UnProtect", "Unregister")]
+ public string Operation { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ if (Job != null)
+ {
+ Vault = new AzureRMBackupVault(Job.ResourceGroupName, Job.ResourceName, Job.Location);
+ }
+
+ InitializeAzureBackupCmdlet(Vault);
+
+ if (Job != null)
+ {
+ JobId = Job.InstanceId;
+ }
+
+ // validations
+ if (!From.HasValue)
+ {
+ if (To.HasValue)
+ {
+ throw new Exception(Resources.AzureBackupJobArguementException);
+ }
+ WriteDebug(Resources.SettingStartTime);
+ From = new DateTime();
+ From = AzureBackupJobHelper.MinimumAllowedDate;
+ }
+
+ if (To.HasValue && To.Value > From.Value)
+ {
+ // everything is good. don't do anything
+ }
+ else if (To.HasValue && To.Value <= From.Value)
+ {
+ throw new Exception(Resources.TimeFilterNotCorrect);
+ }
+ else
+ {
+ if (From != AzureBackupJobHelper.MinimumAllowedDate)
+ {
+ WriteDebug(Resources.EndTimeNotSet);
+ To = DateTime.Now;
+ }
+ else
+ {
+ WriteDebug(Resources.SettingEndTime);
+ To = new DateTime();
+ To = AzureBackupJobHelper.MinimumAllowedDate;
+ }
+ }
+
+ From = TimeZoneInfo.ConvertTimeToUtc(From.Value);
+ To = TimeZoneInfo.ConvertTimeToUtc(To.Value);
+
+ // if user hasn't specified any filters, then default filter fetches
+ // all jobs that were created in last 24 hours.
+ if (From == AzureBackupJobHelper.MinimumAllowedDate && To == AzureBackupJobHelper.MinimumAllowedDate &&
+ string.IsNullOrEmpty(Operation) && string.IsNullOrEmpty(Status) &&
+ string.IsNullOrEmpty(Type) && string.IsNullOrEmpty(JobId))
+ {
+ From = DateTime.UtcNow.AddDays(-1);
+ To = DateTime.UtcNow;
+ }
+
+ WriteDebug(String.Format(Resources.StartTimeFilter, System.Uri.EscapeDataString(From.Value.ToString("yyyy-MM-dd hh:mm:ss tt"))));
+ WriteDebug(String.Format(Resources.EndTimeFilter, System.Uri.EscapeDataString(To.Value.ToString("yyyy-MM-dd hh:mm:ss tt"))));
+ WriteDebug(String.Format(Resources.OperationFilter, Operation));
+ WriteDebug(String.Format(Resources.StatusFilter, Status));
+ WriteDebug(String.Format(Resources.TypeFilter, Type));
+ WriteDebug(String.Format(Resources.JobIdFilter, JobId));
+
+ Mgmt.CSMJobQueryObject queryParams = new Mgmt.CSMJobQueryObject()
+ {
+ StartTime = From.Value.ToString("yyyy-MM-dd hh:mm:ss tt"),
+ EndTime = To.Value.ToString("yyyy-MM-dd hh:mm:ss tt"),
+ Operation = Operation,
+ Status = Status,
+ WorkloadType = Type,
+ Name = JobId
+ };
+
+ var jobsList = AzureBackupClient.ListJobs(Vault.ResourceGroupName, Vault.Name, queryParams);
+ List retrievedJobs = new List();
+
+ foreach (Mgmt.CSMJobResponse serviceJob in jobsList)
+ {
+ // TODO: Initialize vault from Job object when vault is made optional
+ retrievedJobs.Add(new AzureRMBackupJob(Vault, serviceJob.Properties, serviceJob.Name));
+ }
+
+ WriteDebug(String.Format(Resources.JobRetrieved, retrievedJobs.Count()));
+
+ if (retrievedJobs.Count == 1)
+ {
+ WriteObject(retrievedJobs.First());
+ }
+ else
+ {
+ WriteObject(retrievedJobs);
+ }
+ });
+ }
+ }
+}
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs
new file mode 100644
index 000000000000..742b85ae59f5
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs
@@ -0,0 +1,69 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Mgmt = Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Get full details of a job
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRMBackupJobDetails", DefaultParameterSetName = "JobsFiltersSet"), OutputType(typeof(AzureRMBackupJobDetails))]
+ public class GetAzureRMBackupJobDetils : AzureBackupCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "IdFiltersSet")]
+ [ValidateNotNull]
+ public AzureRMBackupVault Vault { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.JobDetailsFilterJobIdHelpMessage, ParameterSetName = "IdFiltersSet")]
+ [ValidateNotNullOrEmpty]
+ public string JobID { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.JobDetailsFilterJobHelpMessage, ParameterSetName = "JobsFiltersSet", ValueFromPipeline = true)]
+ [ValidateNotNull]
+ public AzureRMBackupJob Job { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (Job != null)
+ {
+ Vault = new AzureRMBackupVault(Job.ResourceGroupName, Job.ResourceName, Job.Location);
+ }
+ InitializeAzureBackupCmdlet(Vault);
+
+ ExecutionBlock(() =>
+ {
+ if (Job != null)
+ {
+ JobID = Job.InstanceId;
+ }
+
+ WriteDebug(String.Format(Resources.JobIdFilter, JobID));
+
+ Mgmt.CSMJobDetailsResponse serviceJobProperties = AzureBackupClient.GetJobDetails(Vault.ResourceGroupName, Vault.Name, JobID);
+ AzureRMBackupJobDetails jobDetails = new AzureRMBackupJobDetails(Vault, serviceJobProperties.JobDetailedProperties, serviceJobProperties.Name);
+
+ WriteDebug(Resources.JobResponse);
+ WriteObject(jobDetails);
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs
new file mode 100644
index 000000000000..a22d161afcad
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs
@@ -0,0 +1,84 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices;
+using System.Threading.Tasks;
+using Mgmt = Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Stop a running cancellable job
+ ///
+ [Cmdlet("Stop", "AzureRMBackupJob")]
+ public class StopAzureRMBackupJob : AzureBackupCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "IdFiltersSet")]
+ [ValidateNotNull]
+ public AzureRMBackupVault Vault { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StopJobFilterJobIdHelpMessage, ParameterSetName = "IdFiltersSet")]
+ [ValidateNotNullOrEmpty]
+ public string JobID { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StopJobFilterJobHelpMessage, ParameterSetName = "JobFiltersSet", ValueFromPipeline = true)]
+ [ValidateNotNull]
+ public AzureRMBackupJob Job { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ if (Job != null)
+ {
+ Vault = new AzureRMBackupVault(Job.ResourceGroupName, Job.ResourceName, Job.Location);
+ }
+
+ InitializeAzureBackupCmdlet(Vault);
+
+ ExecutionBlock(() =>
+ {
+ if (Job != null)
+ {
+ JobID = Job.InstanceId;
+ }
+
+ WriteDebug(String.Format(Resources.JobId, JobID));
+ Guid cancelTaskId = AzureBackupClient.TriggerCancelJob(Vault.ResourceGroupName, Vault.Name, JobID);
+
+ if (cancelTaskId == Guid.Empty)
+ {
+ WriteDebug(String.Format(Resources.TriggeredCancellationJob, JobID));
+ return;
+ }
+
+ CSMOperationResult opResponse = TrackOperation(Vault.ResourceGroupName, Vault.Name, cancelTaskId);
+
+ if (opResponse.Status == CSMAzureBackupOperationStatus.Succeeded.ToString())
+ {
+ WriteDebug(String.Format(Resources.TriggeredCancellationJob, JobID));
+ }
+ else
+ {
+ throw new Exception(String.Format(Resources.StopJobFailed, opResponse.Error.Code));
+ }
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs
new file mode 100644
index 000000000000..af4b8253f462
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs
@@ -0,0 +1,157 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Mgmt = Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ [Cmdlet("Wait", "AzureRMBackupJob"), OutputType(typeof(List), typeof(AzureRMBackupJob))]
+ public class WaitAzureRMBackupJob : AzureBackupCmdletBase
+ {
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WaitJobFilterJobHelpMessage, ValueFromPipeline = true)]
+ [ValidateNotNullOrEmpty]
+ public object Job { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.WaitJobFilterTimeoutHelpMessage)]
+ [ValidateRange(1, Int64.MaxValue)]
+ public long? TimeOut { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ List specifiedJobs = new List();
+ AzureRMBackupVault Vault = null;
+
+ if (Job != null)
+ {
+ if ((Job is PSObject) && (((PSObject)Job).ImmediateBaseObject is List))
+ {
+ foreach (AzureRMBackupJob jobToWait in (((PSObject)Job).ImmediateBaseObject as List))
+ {
+ Vault = new AzureRMBackupVault(jobToWait.ResourceGroupName, jobToWait.ResourceName, jobToWait.Location);
+ specifiedJobs.Add(jobToWait.InstanceId);
+ }
+ }
+ else if (Job is List)
+ {
+ WriteDebug(Resources.AzureBackupJobInputType);
+ foreach (AzureRMBackupJob jobToWait in (Job as List))
+ {
+ Vault = new AzureRMBackupVault(jobToWait.ResourceGroupName, jobToWait.ResourceName, jobToWait.Location);
+ specifiedJobs.Add(jobToWait.InstanceId);
+ }
+ }
+ else if ((Job is PSObject) && (((PSObject)Job).ImmediateBaseObject is AzureRMBackupJob))
+ {
+ AzureRMBackupJob azureJob = ((Job as PSObject).ImmediateBaseObject as AzureRMBackupJob);
+ Vault = new AzureRMBackupVault(azureJob.ResourceGroupName, azureJob.ResourceName, azureJob.Location);
+ specifiedJobs.Add(azureJob.InstanceId);
+ }
+ else if (Job is AzureRMBackupJob)
+ {
+ Vault = new AzureRMBackupVault((Job as AzureRMBackupJob).ResourceGroupName, (Job as AzureRMBackupJob).ResourceName, (Job as AzureRMBackupJob).Location);
+ specifiedJobs.Add((Job as AzureRMBackupJob).InstanceId);
+ }
+ else if ((Job is PSObject) && (((PSObject)Job).ImmediateBaseObject is AzureRMBackupJobDetails))
+ {
+ AzureRMBackupJob azureJob = ((Job as PSObject).ImmediateBaseObject as AzureRMBackupJobDetails);
+ Vault = new AzureRMBackupVault(azureJob.ResourceGroupName, azureJob.ResourceName, azureJob.Location);
+ specifiedJobs.Add(azureJob.InstanceId);
+ }
+ else if (Job is AzureRMBackupJobDetails)
+ {
+ Vault = new AzureRMBackupVault((Job as AzureRMBackupJobDetails).ResourceGroupName, (Job as AzureRMBackupJobDetails).ResourceName, (Job as AzureRMBackupJobDetails).Location);
+ specifiedJobs.Add((Job as AzureRMBackupJobDetails).InstanceId);
+ }
+ }
+
+ WriteDebug(String.Format(Resources.NumberOfJobsForWaiting, specifiedJobs.Count));
+
+ if (specifiedJobs.Count == 0)
+ {
+ WriteDebug(Resources.QuittingWaitJob);
+ return;
+ }
+
+ InitializeAzureBackupCmdlet(Vault);
+
+ ExecutionBlock(() =>
+ {
+ if (!TimeOut.HasValue)
+ {
+ TimeOut = new long();
+ TimeOut = Int64.MaxValue;
+ }
+
+ List pendingJobs = new List(specifiedJobs);
+ DateTime waitingStartTime = DateTime.UtcNow;
+
+ while (true)
+ {
+ WriteDebug(Resources.QueryingJobs);
+
+ if (DateTime.UtcNow.Subtract(waitingStartTime).TotalSeconds >= TimeOut)
+ {
+ WriteDebug(Resources.TimeOutWaitInJob);
+ break;
+ }
+
+ bool areJobsRunning = false;
+
+ for (int i = 0; i < pendingJobs.Count; i++)
+ {
+ Mgmt.CSMJobDetailsResponse retrievedJob = AzureBackupClient.GetJobDetails(Vault.ResourceGroupName, Vault.Name, pendingJobs[i]);
+ if (AzureBackupJobHelper.IsJobRunning(retrievedJob.JobDetailedProperties.Status))
+ areJobsRunning = true;
+ else
+ {
+ pendingJobs.RemoveAt(i);
+ i--;
+ }
+ }
+
+ if (!areJobsRunning)
+ {
+ WriteDebug(Resources.AllJobsCompleted);
+ break;
+ }
+
+ System.Threading.Thread.Sleep(30 * 1000);
+ }
+
+ IList finalJobs = new List();
+ foreach(string jobId in specifiedJobs)
+ {
+ Mgmt.CSMJobDetailsResponse retrievedJob = AzureBackupClient.GetJobDetails(Vault.ResourceGroupName, Vault.Name, jobId);
+ finalJobs.Add(new AzureRMBackupJob(Vault, retrievedJob.JobDetailedProperties, retrievedJob.Name));
+ }
+
+ if (finalJobs.Count == 1)
+ {
+ WriteObject(finalJobs.First());
+ }
+ else
+ {
+ WriteObject(finalJobs);
+ }
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs
new file mode 100644
index 000000000000..0b334aec9cd1
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs
@@ -0,0 +1,52 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.AzureBackup.Helpers;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using System.Collections.Generic;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Get list of protection policies
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRMBackupProtectionPolicy"), OutputType(typeof(AzureRMBackupProtectionPolicy), typeof(List))]
+ public class GetAzureRMBackupProtectionPolicy : AzureBackupVaultCmdletBase
+ {
+ [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.PolicyName)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+
+ if (Name != null)
+ {
+ var policyInfo = AzureBackupClient.GetProtectionPolicyByName(Vault.ResourceGroupName, Vault.Name, Name);
+ WriteObject(ProtectionPolicyHelpers.GetCmdletPolicy(Vault, policyInfo));
+ }
+ else
+ {
+ var policyObjects = AzureBackupClient.ListProtectionPolicies(Vault.ResourceGroupName, Vault.Name);
+ WriteObject(ProtectionPolicyHelpers.GetCmdletPolicies(Vault, policyObjects));
+ }
+ });
+ }
+ }
+}
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs
new file mode 100644
index 000000000000..cf3406a42c85
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs
@@ -0,0 +1,100 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Helpers;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Create new protection policy
+ ///
+ [Cmdlet(VerbsCommon.New, "AzureRMBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupProtectionPolicy))]
+ public class NewAzureRMBackupProtectionPolicy : AzureBackupVaultCmdletBase
+ {
+ protected const string WeeklyScheduleParamSet = "WeeklyScheduleParamSet";
+ protected const string DailyScheduleParamSet = "DailyScheduleParamSet";
+ protected const string NoScheduleParamSet = "NoScheduleParamSet";
+
+ [Parameter(Position = 1, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.PolicyName)]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ [Parameter(Position = 2, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WorkloadType, ValueFromPipelineByPropertyName = true)]
+ [ValidateSet("AzureVM", IgnoreCase = true)]
+ public string Type { get; set; }
+
+ [Parameter(ParameterSetName = DailyScheduleParamSet, Position = 3, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.DailyScheduleType)]
+ public SwitchParameter Daily { get; set; }
+
+ [Parameter(ParameterSetName = WeeklyScheduleParamSet, Position = 4, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WeeklyScheduleType)]
+ public SwitchParameter Weekly { get; set; }
+
+ [Parameter(Position = 5, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunTimes, ValueFromPipelineByPropertyName = true)]
+ public DateTime BackupTime { get; set; }
+
+ [Parameter(ParameterSetName = WeeklyScheduleParamSet, Position = 6, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunDays, ValueFromPipelineByPropertyName = true)]
+ [Parameter(ParameterSetName = NoScheduleParamSet, Position = 6, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunDays, ValueFromPipelineByPropertyName = true)]
+ [AllowEmptyCollection]
+ [ValidateSet("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", IgnoreCase = true)]
+ public string[] DaysOfWeek { get; set; }
+
+ [Parameter(Position = 7, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.RetentionPolicyList, ValueFromPipelineByPropertyName = true)]
+ public AzureRMBackupRetentionPolicy[] RetentionPolicy { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+ WriteDebug("Making client call");
+
+ ProtectionPolicyHelpers.ValidateProtectionPolicyName(Name);
+ AzureBackupClient.CheckProtectionPolicyNameAvailability(Vault.ResourceGroupName, Vault.Name, this.Name);
+
+ var ScheduleType = ProtectionPolicyHelpers.GetScheduleType(DaysOfWeek, this.ParameterSetName,
+ DailyScheduleParamSet, WeeklyScheduleParamSet);
+
+ var backupSchedule = ProtectionPolicyHelpers.FillCSMBackupSchedule(ScheduleType, BackupTime,
+ DaysOfWeek);
+
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(RetentionPolicy, backupSchedule);
+
+ var addCSMProtectionPolicyRequest = new CSMAddProtectionPolicyRequest();
+ addCSMProtectionPolicyRequest.PolicyName = this.Name;
+ addCSMProtectionPolicyRequest.Properties = new CSMAddProtectionPolicyRequestProperties();
+ addCSMProtectionPolicyRequest.Properties.PolicyName = this.Name;
+ addCSMProtectionPolicyRequest.Properties.BackupSchedule = backupSchedule;
+ addCSMProtectionPolicyRequest.Properties.WorkloadType = ProtectionPolicyHelpers.ConvertToCSMWorkLoadType(this.Type);
+
+ addCSMProtectionPolicyRequest.Properties.LtrRetentionPolicy = ProtectionPolicyHelpers.ConvertToCSMRetentionPolicyObject(RetentionPolicy, backupSchedule);
+
+ AzureBackupClient.AddProtectionPolicy(Vault.ResourceGroupName, Vault.Name, this.Name, addCSMProtectionPolicyRequest);
+ WriteDebug(Resources.ProtectionPolicyCreated);
+
+ var policyInfo = AzureBackupClient.GetProtectionPolicyByName(Vault.ResourceGroupName, Vault.Name, Name);
+ WriteObject(ProtectionPolicyHelpers.GetCmdletPolicy(Vault, policyInfo));
+ });
+ }
+ }
+
+}
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs
new file mode 100644
index 000000000000..071490c1b1d2
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs
@@ -0,0 +1,195 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Helpers;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Create new retention policy object.
+ ///
+ [Cmdlet(VerbsCommon.New, "AzureRMBackupRetentionPolicyObject"), OutputType(typeof(AzureRMBackupRetentionPolicy), typeof(List))]
+ public class NewAzureRMBackupRetentionPolicyObject : AzureBackupCmdletBase
+ {
+ protected const string DailyRetentionParamSet = "DailyRetentionParamSet";
+ protected const string WeeklyRetentionParamSet = "WeeklyRetentionParamSet";
+ protected const string MonthlyRetentionInDailyFormatParamSet = "MonthlyRetentionInDailyFormatParamSet";
+ protected const string MonthlyRetentionInWeeklyFormatParamSet = "MonthlyRetentionInWeeklyFormatParamSet";
+ protected const string YearlyRetentionInDailyFormatParamSet = "YearlyRetentionInDailyFormatParamSet";
+ protected const string YearlyRetentionInWeeklyFormatParamSet = "YearlyRetentionInWeeklyFormatParamSet";
+
+ [Parameter(ParameterSetName = DailyRetentionParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.DailyRetention)]
+ public SwitchParameter DailyRetention { get; set; }
+
+ [Parameter(ParameterSetName = WeeklyRetentionParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.WeeklyRetention)]
+ public SwitchParameter WeeklyRetention { get; set; }
+
+ [Parameter(ParameterSetName = MonthlyRetentionInDailyFormatParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.MonthlyRetentionInDailyFormat)]
+ public SwitchParameter MonthlyRetentionInDailyFormat { get; set; }
+
+ [Parameter(ParameterSetName = MonthlyRetentionInWeeklyFormatParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.MonthlyRetentionInWeeklyFormat)]
+ public SwitchParameter MonthlyRetentionInWeeklyFormat { get; set; }
+
+ [Parameter(ParameterSetName = YearlyRetentionInDailyFormatParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.YearlyRetentionInDailyFormat)]
+ public SwitchParameter YearlyRetentionInDailyFormat { get; set; }
+
+ [Parameter(ParameterSetName = YearlyRetentionInWeeklyFormatParamSet, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.YearlyRetentionInWeeklyFormat)]
+ public SwitchParameter YearlyRetentionInWeeklyFormat { get; set; }
+
+ [Parameter(ParameterSetName = WeeklyRetentionParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfWeek)]
+ [Parameter(ParameterSetName = MonthlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfWeek)]
+ [Parameter(ParameterSetName = YearlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfWeek)]
+ [ValidateSet("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", IgnoreCase = true)]
+ public string[] DaysOfWeek { get; set; }
+
+ [Parameter(ParameterSetName = MonthlyRetentionInDailyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfMonth)]
+ [Parameter(ParameterSetName = YearlyRetentionInDailyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.DaysOfMonth)]
+ [ValidateSet("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ,"13" ,"14", "15", "16", "17", "18",
+ "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "Last", IgnoreCase = true)]
+ public List DaysOfMonth { get; set; }
+
+ [Parameter(ParameterSetName = MonthlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WeekNumber)]
+ [Parameter(ParameterSetName = YearlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WeekNumber)]
+ [ValidateSet("First", "Second", "Third", "Fourth", "Last", IgnoreCase = true)]
+ public string[] WeekNumber { get; set; }
+
+ [Parameter(ParameterSetName = YearlyRetentionInDailyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.MonthsOfYear)]
+ [Parameter(ParameterSetName = YearlyRetentionInWeeklyFormatParamSet, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.MonthsOfYear)]
+ [ValidateSet("January", "February", "March", "April", "May", "June", "July" ,"August", "September", "October", "November", "December", IgnoreCase = true)]
+ public string[] MonthsOfYear { get; set; }
+
+ [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Retention)]
+ public int Retention { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+ if (DailyRetention != false)
+ {
+ AzureRMBackupRetentionPolicy retentionPolicy = new AzureBackupDailyRetentionPolicy(RetentionType.Daily.ToString(), Retention);
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy });
+ WriteObject(retentionPolicy);
+ }
+
+ if (WeeklyRetention != false)
+ {
+ List daysofWeekList = ConvertDaysOfWeek(DaysOfWeek);
+ AzureRMBackupRetentionPolicy retentionPolicy = new AzureBackupWeeklyRetentionPolicy(RetentionType.Weekly.ToString(), Retention, daysofWeekList);
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy });
+ WriteObject(retentionPolicy);
+ }
+
+ if (MonthlyRetentionInDailyFormat != false)
+ {
+ AzureRMBackupRetentionPolicy retentionPolicy = new AzureBackupMonthlyRetentionPolicy(RetentionType.Monthly.ToString(), Retention, RetentionFormat.Daily, DaysOfMonth,
+ null, null);
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy });
+ WriteObject(retentionPolicy);
+ }
+
+ if (MonthlyRetentionInWeeklyFormat != false)
+ {
+ List daysofWeekList = ConvertDaysOfWeek(DaysOfWeek);
+ List weekNumbers = ConvertWeekNumbers(WeekNumber);
+ AzureRMBackupRetentionPolicy retentionPolicy = new AzureBackupMonthlyRetentionPolicy(RetentionType.Monthly.ToString(), Retention, RetentionFormat.Weekly, DaysOfMonth,
+ weekNumbers, daysofWeekList);
+
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy });
+
+ WriteObject(retentionPolicy);
+ }
+
+ if (YearlyRetentionInDailyFormat != false)
+ {
+ List monthsOfYear = ConvertMonthsOfYear(MonthsOfYear);
+ AzureRMBackupRetentionPolicy retentionPolicy = new AzureBackupYearlyRetentionPolicy(RetentionType.Yearly.ToString(), Retention, monthsOfYear, RetentionFormat.Daily,
+ DaysOfMonth, null, null);
+
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy });
+
+ WriteObject(retentionPolicy);
+ }
+
+ if (YearlyRetentionInWeeklyFormat != false)
+ {
+ List daysofWeekList = ConvertDaysOfWeek(DaysOfWeek);
+ List weekNumbers = ConvertWeekNumbers(WeekNumber);
+ List monthsOfYear = ConvertMonthsOfYear(MonthsOfYear);
+ AzureRMBackupRetentionPolicy retentionPolicy = new AzureBackupYearlyRetentionPolicy(RetentionType.Yearly.ToString(), Retention, monthsOfYear,
+ RetentionFormat.Weekly, DaysOfMonth, weekNumbers, daysofWeekList);
+
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(new List { retentionPolicy });
+
+ WriteObject(retentionPolicy);
+ }
+ });
+ }
+
+ private List ConvertDaysOfWeek(string[] daysOfWeek)
+ {
+ List ListofWeekDays = new List();
+
+ foreach (var dayOfWeek in daysOfWeek)
+ {
+ DayOfWeek item = (DayOfWeek)Enum.Parse(typeof(DayOfWeek), dayOfWeek, true);
+ if (!ListofWeekDays.Contains(item))
+ {
+ ListofWeekDays.Add(item);
+ }
+ }
+
+ return ListofWeekDays;
+ }
+
+ private List ConvertWeekNumbers(string[] weekNumbers)
+ {
+ List ListofWeekNumbers = new List();
+
+ foreach (var weekNumber in weekNumbers)
+ {
+ WeekNumber item = (WeekNumber)Enum.Parse(typeof(WeekNumber), weekNumber, true);
+ if (!ListofWeekNumbers.Contains(item))
+ {
+ ListofWeekNumbers.Add(item);
+ }
+ }
+
+ return ListofWeekNumbers;
+ }
+
+ private List ConvertMonthsOfYear(string[] monthsOfYear)
+ {
+ List ListofMonthsOfYear = new List();
+
+ foreach (var monthOfYear in monthsOfYear)
+ {
+ Month item = (Month)Enum.Parse(typeof(Month), monthOfYear, true);
+ if (!ListofMonthsOfYear.Contains(item))
+ {
+ ListofMonthsOfYear.Add(item);
+ }
+ }
+ return ListofMonthsOfYear;
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs
new file mode 100644
index 000000000000..e161d8a4680a
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs
@@ -0,0 +1,55 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Remove a protection policy
+ ///
+ [Cmdlet(VerbsCommon.Remove, "AzureRMBackupProtectionPolicy")]
+ public class RemoveAzureRMBackupProtectionPolicy : AzureBackupPolicyCmdletBase
+ {
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+
+ WriteDebug(Resources.MakingClientCall);
+
+ var policyInfo = AzureBackupClient.GetProtectionPolicyByName(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, ProtectionPolicy.Name);
+ if (policyInfo != null)
+ {
+ AzureBackupClient.DeleteProtectionPolicy(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, policyInfo.Name);
+ WriteDebug(Resources.ProtectionPolicyDeleted);
+ }
+ else
+ {
+ var exception = new ArgumentException(string.Format(Resources.PolicyNotFound, policyInfo.Name));
+ throw exception;
+ }
+ });
+ }
+ }
+}
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs
new file mode 100644
index 000000000000..58bc57f833ae
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs
@@ -0,0 +1,160 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Helpers;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using CmdletModel = Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Update existing protection policy
+ ///
+ [Cmdlet(VerbsCommon.Set, "AzureRMBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupJob), typeof(IList))]
+ public class SetAzureRMBackupProtectionPolicy : AzureBackupPolicyCmdletBase
+ {
+ protected const string WeeklyScheduleParamSet = "WeeklyScheduleParamSet";
+ protected const string DailyScheduleParamSet = "DailyScheduleParamSet";
+ protected const string NoScheduleParamSet = "NoScheduleParamSet";
+
+ [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.PolicyNewName)]
+ [ValidateNotNullOrEmpty]
+ public string NewName { get; set; }
+
+ [Parameter(ParameterSetName = DailyScheduleParamSet, Position = 2, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.DailyScheduleType)]
+ public SwitchParameter Daily { get; set; }
+
+ [Parameter(ParameterSetName = WeeklyScheduleParamSet, Position = 3, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.WeeklyScheduleType)]
+ public SwitchParameter Weekly { get; set; }
+
+ [Parameter(Position = 4, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunTimes)]
+ public DateTime BackupTime { get; set; }
+
+ [Parameter(Position = 5, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RetentionPolicyList)]
+ public AzureRMBackupRetentionPolicy[] RetentionPolicy { get; set; }
+
+ [Parameter(ParameterSetName = WeeklyScheduleParamSet, Position = 6, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ScheduleRunDays)]
+ [ValidateSet("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", IgnoreCase = true)]
+ public string[] DaysOfWeek { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ExecutionBlock(() =>
+ {
+ base.ExecuteCmdlet();
+ WriteDebug(Resources.MakingClientCall);
+
+ var response = AzureBackupClient.GetProtectionPolicyByName(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, ProtectionPolicy.Name);
+ var vault = new CmdletModel.AzureRMBackupVault(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, ProtectionPolicy.Location);
+
+ var policyInfo = ProtectionPolicyHelpers.GetCmdletPolicy(vault, response);
+
+ if (policyInfo == null)
+ {
+ throw new ArgumentException(String.Format(Resources.PolicyNotFound, ProtectionPolicy.Name));
+ }
+
+ FillRemainingValuesForSetPolicyRequest(policyInfo, this.NewName);
+
+ var backupSchedule = ProtectionPolicyHelpers.FillCSMBackupSchedule(policyInfo.ScheduleType, BackupTime,
+ policyInfo.DaysOfWeek.ToArray());
+
+ NewName = (string.IsNullOrEmpty(NewName) ? policyInfo.Name : NewName);
+ var updateProtectionPolicyRequest = new CSMUpdateProtectionPolicyRequest();
+ updateProtectionPolicyRequest.Properties = new CSMUpdateProtectionPolicyRequestProperties();
+ updateProtectionPolicyRequest.Properties.PolicyName = this.NewName;
+ updateProtectionPolicyRequest.Properties.BackupSchedule = backupSchedule;
+
+ if (RetentionPolicy != null && RetentionPolicy.Length > 0)
+ {
+ updateProtectionPolicyRequest.Properties.LtrRetentionPolicy =
+ ProtectionPolicyHelpers.ConvertToCSMRetentionPolicyObject(RetentionPolicy, backupSchedule);
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(RetentionPolicy, backupSchedule);
+ }
+ else
+ {
+ updateProtectionPolicyRequest.Properties.LtrRetentionPolicy =
+ ProtectionPolicyHelpers.ConvertToCSMRetentionPolicyObject(policyInfo.RetentionPolicy, backupSchedule);
+ ProtectionPolicyHelpers.ValidateRetentionPolicy(policyInfo.RetentionPolicy, backupSchedule);
+ }
+
+ var operationId = AzureBackupClient.UpdateProtectionPolicy(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, policyInfo.Name, updateProtectionPolicyRequest);
+
+ if (operationId != Guid.Empty)
+ {
+ string resourceGroupName = ProtectionPolicy.ResourceGroupName;
+ string resourceName = ProtectionPolicy.ResourceName;
+ var operationStatus = GetOperationStatus(resourceGroupName, resourceName, operationId);
+ WriteDebug(Resources.PolicyUpdatedReconfigureProtectionDone);
+
+ WriteObject(GetCreatedJobs(resourceGroupName, resourceName, vault, operationStatus.JobList));
+ }
+
+ else
+ {
+ WriteDebug(Resources.PolicyUpdated);
+ }
+
+ });
+ }
+
+ private void FillRemainingValuesForSetPolicyRequest(AzureRMBackupProtectionPolicy policy, string newName)
+ {
+ if (newName != null && NewName != policy.Name)
+ {
+ ProtectionPolicyHelpers.ValidateProtectionPolicyName(this.NewName);
+ AzureBackupClient.CheckProtectionPolicyNameAvailability(ProtectionPolicy.ResourceGroupName, ProtectionPolicy.ResourceName, this.NewName);
+ }
+
+ BackupTime = (BackupTime == DateTime.MinValue) ? policy.BackupTime :
+ BackupTime;
+
+ WriteDebug(String.Format(Resources.PolicyParameterSet, this.ParameterSetName.ToString()));
+
+ if (this.ParameterSetName != NoScheduleParamSet )
+ {
+ if (DaysOfWeek != null && DaysOfWeek.Length > 0 &&
+ this.ParameterSetName == WeeklyScheduleParamSet)
+ {
+ policy.ScheduleType = ScheduleType.Weekly.ToString();
+ policy.DaysOfWeek = DaysOfWeek.ToList();
+ }
+ else if (this.ParameterSetName == DailyScheduleParamSet &&
+ (DaysOfWeek == null || DaysOfWeek.Length <= 0))
+ {
+ policy.ScheduleType = ScheduleType.Daily.ToString();
+ policy.DaysOfWeek = new List();
+ }
+ else
+ {
+ policy.ScheduleType = ProtectionPolicyHelpers.GetScheduleType(DaysOfWeek, this.ParameterSetName,
+ DailyScheduleParamSet, WeeklyScheduleParamSet);
+
+ }
+ }
+ else if (DaysOfWeek != null && DaysOfWeek.Length > 0)
+ {
+ throw new ArgumentException(Resources.PolicyArgumentException);
+ }
+ }
+ }
+}
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs
new file mode 100644
index 000000000000..f70976bdb17b
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs
@@ -0,0 +1,98 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Get list of Azure Recovery Points
+ ///
+ [Cmdlet(VerbsCommon.Get, "AzureRMBackupRecoveryPoint"), OutputType(typeof(AzureRMBackupRecoveryPoint), typeof(List))]
+ public class GetAzureRMBackupRecoveryPoint : AzureRMBackupDSCmdletBase
+ {
+ [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RecoveryPointId)]
+ [ValidateNotNullOrEmpty]
+ public string RecoveryPointId { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ ExecutionBlock(() =>
+ {
+ WriteDebug(Resources.MakingClientCall);
+
+ if (RecoveryPointId != null)
+ {
+ CSMRecoveryPointResponse recoveryPointObject = AzureBackupClient.GetRecoveryPoint(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName, RecoveryPointId);
+ if (recoveryPointObject != null)
+ {
+ WriteAzureBackupRecoveryPoint(recoveryPointObject, Item);
+ }
+ else
+ {
+ WriteDebug(string.Format(Resources.NoRpExist, RecoveryPointId));
+ }
+ }
+ else
+ {
+ IEnumerable recoveryPointListResponse = AzureBackupClient.ListRecoveryPoints(Item.ResourceGroupName, Item.ResourceName, Item.ContainerUniqueName, Item.ItemName);
+ if (recoveryPointListResponse != null &&
+ recoveryPointListResponse.Count() > 0)
+ {
+ IEnumerable recoveryPointObjects = recoveryPointListResponse.OrderByDescending(x => x.Properties.RecoveryPointTime);
+ if (recoveryPointObjects.Count() > 1)
+ {
+ WriteAzureBackupRecoveryPoint(recoveryPointObjects, Item);
+ }
+ else
+ {
+ WriteAzureBackupRecoveryPoint(recoveryPointObjects.FirstOrDefault(), Item);
+ }
+ }
+ else
+ {
+ WriteDebug(Resources.NoRpFound);
+ }
+ }
+ });
+ }
+
+ public void WriteAzureBackupRecoveryPoint(CSMRecoveryPointResponse sourceRecoverPoint, AzureRMBackupItem azureBackupItem)
+ {
+ this.WriteObject(new AzureRMBackupRecoveryPoint(sourceRecoverPoint, azureBackupItem));
+ }
+
+ public void WriteAzureBackupRecoveryPoint(IEnumerable sourceRecoverPointList, AzureRMBackupItem azureBackupItem)
+ {
+ List targetList = new List();
+
+ foreach (var sourceRecoverPoint in sourceRecoverPointList)
+ {
+ targetList.Add(new AzureRMBackupRecoveryPoint(sourceRecoverPoint, azureBackupItem));
+ }
+
+ this.WriteObject(targetList, true);
+ }
+ }
+}
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs
new file mode 100644
index 000000000000..4c558243526c
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs
@@ -0,0 +1,80 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using Microsoft.Azure.Management.BackupServices.Models;
+using MBS = Microsoft.Azure.Management.BackupServices;
+using System.Web.Script.Serialization;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
+{
+ ///
+ /// Restore Azure Backup Item
+ ///
+ [Cmdlet(VerbsData.Restore, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupJob))]
+ public class RestoreAzureRMBackupItem : AzureBackupRestoreBase
+ {
+ [Parameter(Position = 1, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StorageAccountName)]
+ [ValidateNotNullOrEmpty]
+ public string StorageAccountName { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+
+ ExecutionBlock(() =>
+ {
+ WriteDebug(Resources.MakingClientCall);
+ AzureIaaSVMRecoveryInputsCSMObject azureIaaSVMRecoveryInputsCSMObject = new AzureIaaSVMRecoveryInputsCSMObject()
+ {
+ CloudServiceName = string.Empty,
+ VmName = string.Empty,
+ CreateNewCloudService = false,
+ ContinueProtection = false,
+ InputStorageAccountName = StorageAccountName,
+ AffinityGroup = "",
+ Region = RecoveryPoint.Location,
+ };
+
+ JavaScriptSerializer serializer = new JavaScriptSerializer();
+ string azureIaaSVMRecoveryInputsCSMObjectString = serializer.Serialize(azureIaaSVMRecoveryInputsCSMObject);
+
+ CSMRestoreRequest csmRestoreRequest = new CSMRestoreRequest()
+ {
+ Properties = new CSMRestoreRequestProperties()
+ {
+ TypeOfRecovery = RecoveryType.RestoreDisks.ToString(),
+ RecoveryDSTypeSpecificInputs = azureIaaSVMRecoveryInputsCSMObjectString,
+ },
+ };
+
+ Guid operationId = AzureBackupClient.TriggerRestore(RecoveryPoint.ResourceGroupName, RecoveryPoint.ResourceName, RecoveryPoint.ContainerUniqueName, RecoveryPoint.ItemName, RecoveryPoint.RecoveryPointName, csmRestoreRequest);
+ WriteDebug(string.Format(Resources.TriggeringRestore, operationId));
+
+ var operationStatus = TrackOperation(RecoveryPoint.ResourceGroupName, RecoveryPoint.ResourceName, operationId);
+ WriteObject(GetCreatedJobs(RecoveryPoint.ResourceGroupName,
+ RecoveryPoint.ResourceName,
+ new Models.AzureRMBackupVault(RecoveryPoint.ResourceGroupName, RecoveryPoint.ResourceName, RecoveryPoint.Location),
+ operationStatus.JobList).FirstOrDefault());
+
+ });
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs
similarity index 90%
rename from src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureBackupVault.cs
rename to src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs
index 9f05845750a4..1b421c2b9da5 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs
@@ -25,8 +25,8 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to get azure backup vaults in a subscription
///
- [Cmdlet(VerbsCommon.Get, "AzureBackupVault"), OutputType(typeof(AzurePSBackupVault), typeof(List))]
- public class GetAzureBackupVault : AzureBackupCmdletBase
+ [Cmdlet(VerbsCommon.Get, "AzureRMBackupVault"), OutputType(typeof(AzureRMBackupVault), typeof(List))]
+ public class GetAzureRMBackupVault : AzureBackupCmdletBase
{
[Parameter(Position = 0, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ResourceGroupName)]
[ValidateNotNullOrEmpty]
@@ -66,9 +66,9 @@ public override void ExecuteCmdlet()
});
}
- private IEnumerable GetCmdletVaults(IEnumerable backupVaults)
+ private IEnumerable GetCmdletVaults(IEnumerable backupVaults)
{
- List resultList = new List();
+ List resultList = new List();
if (backupVaults != null)
{
foreach (var backupVault in backupVaults)
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs
similarity index 84%
rename from src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureBackupVault.cs
rename to src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs
index 6bc443c4273f..aca22a655f21 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs
@@ -14,6 +14,7 @@
using Microsoft.Azure.Commands.AzureBackup.Helpers;
using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
using System;
using System.Management.Automation;
@@ -22,8 +23,8 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to create an azure backup vault in a subscription
///
- [Cmdlet(VerbsCommon.New, "AzureBackupVault"), OutputType(typeof(AzurePSBackupVault))]
- public class NewAzureBackupVault : AzureBackupCmdletBase
+ [Cmdlet(VerbsCommon.New, "AzureRMBackupVault"), OutputType(typeof(AzureRMBackupVault))]
+ public class NewAzureRMBackupVault : AzureBackupCmdletBase
{
[Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ResourceGroupName)]
[ValidateNotNullOrEmpty]
@@ -52,15 +53,15 @@ public override void ExecuteCmdlet()
base.ExecuteCmdlet();
InitializeAzureBackupCmdlet(ResourceGroupName, Name);
- WriteDebug(String.Format("Creating backup vault with ResourceGroupName: {0}, ResourceName: {1}", ResourceGroupName, Name));
+ WriteDebug(String.Format(Resources.CreatingBackupVault, ResourceGroupName, Name));
var createdVault = AzureBackupClient.CreateOrUpdateAzureBackupVault(ResourceGroupName, Name, Region);
if (Storage != 0)
{
- WriteDebug(String.Format("Setting storage type for the resource, Type: {0}", Storage));
+ WriteDebug(String.Format(Resources.SettingStorageType, Storage));
- AzureBackupClient.UpdateStorageType(Storage.ToString());
+ AzureBackupClient.UpdateStorageType(ResourceGroupName, Name, Storage.ToString());
}
WriteObject(VaultHelpers.GetCmdletVault(createdVault, AzureBackupClient.GetStorageTypeDetails(VaultHelpers.GetResourceGroup(createdVault.Id), createdVault.Name)));
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
similarity index 90%
rename from src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureBackupVault.cs
rename to src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
index 6124f3a43bed..24fd5cbda339 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs
@@ -19,8 +19,8 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to remove an azure backup vault in the subscription
///
- [Cmdlet(VerbsCommon.Remove, "AzureBackupVault")]
- public class RemoveAzureBackupVault : AzureBackupVaultCmdletBase
+ [Cmdlet(VerbsCommon.Remove, "AzureRMBackupVault")]
+ public class RemoveAzureRMBackupVault : AzureBackupVaultCmdletBase
{
public override void ExecuteCmdlet()
{
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs
similarity index 82%
rename from src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureBackupVault.cs
rename to src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs
index 82b01c2e7200..53419e94d4ae 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs
@@ -14,6 +14,7 @@
using Microsoft.Azure.Commands.AzureBackup.Helpers;
using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
using System;
using System.Management.Automation;
using CmdletModel = Microsoft.Azure.Commands.AzureBackup.Models;
@@ -23,8 +24,8 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to update an azure backup vault in a subscription.
///
- [Cmdlet(VerbsCommon.Set, "AzureBackupVault"), OutputType(typeof(CmdletModel.AzurePSBackupVault))]
- public class SetAzureBackupVault : AzureBackupVaultCmdletBase
+ [Cmdlet(VerbsCommon.Set, "AzureRMBackupVault"), OutputType(typeof(CmdletModel.AzureRMBackupVault))]
+ public class SetAzureRMBackupVault : AzureBackupVaultCmdletBase
{
[Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.StorageType)]
public AzureBackupVaultStorageType Storage { get; set; }
@@ -42,9 +43,9 @@ public override void ExecuteCmdlet()
{
if (Storage != 0)
{
- WriteDebug(String.Format("Setting storage type for the resource, Type: {0}", Storage));
+ WriteDebug(String.Format(Resources.SettingStorageType, Storage));
- AzureBackupClient.UpdateStorageType(Storage.ToString());
+ AzureBackupClient.UpdateStorageType(Vault.ResourceGroupName, Vault.Name, Storage.ToString());
}
var backupVault = AzureBackupClient.GetVault(Vault.ResourceGroupName, Vault.Name);
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureBackupVaultCredentials.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs
similarity index 89%
rename from src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureBackupVaultCredentials.cs
rename to src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs
index ef4324c83763..d862f07d0c9e 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureBackupVaultCredentials.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs
@@ -14,6 +14,7 @@
using Microsoft.Azure.Commands.AzureBackup.Library;
using Microsoft.Azure.Commands.AzureBackup.Models;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
using Microsoft.Azure.Management.BackupServices.Models;
using System;
using System.Globalization;
@@ -29,8 +30,8 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
///
/// Command to download an azure backup vault's credentials.
///
- [Cmdlet(VerbsCommon.Get, "AzureBackupVaultCredentials"), OutputType(typeof(string))]
- public class GetAzureBackupVaultCredentials : AzureBackupVaultCmdletBase
+ [Cmdlet(VerbsCommon.Get, "AzureRMBackupVaultCredentials"), OutputType(typeof(string))]
+ public class GetAzureRMBackupVaultCredentials : AzureBackupVaultCmdletBase
{
[Parameter(Position = 2, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.TargetLocation)]
[ValidateNotNullOrEmpty]
@@ -46,7 +47,7 @@ public override void ExecuteCmdlet()
if (!Directory.Exists(TargetLocation))
{
- throw new ArgumentException("The target location provided is not a directory. Please provide a directory.");
+ throw new ArgumentException(Resources.VaultCredPathException);
}
string subscriptionId = Profile.DefaultSubscription.Id.ToString();
@@ -54,7 +55,7 @@ public override void ExecuteCmdlet()
string displayName = subscriptionId + "_" + Vault.ResourceGroupName + "_" + Vault.Name;
WriteDebug(string.Format(CultureInfo.InvariantCulture,
- "Executing cmdlet with SubscriptionId = {0}, ResourceGroupName = {1}, ResourceName = {2}, TargetLocation = {3}",
+ Resources.ExecutingGetVaultCredCmdlet,
subscriptionId, Vault.ResourceGroupName, Vault.Name, TargetLocation));
X509Certificate2 cert = CertUtils.CreateSelfSignedCert(CertUtils.DefaultIssuer,
@@ -68,9 +69,9 @@ public override void ExecuteCmdlet()
try
{
// Upload cert into ID Mgmt
- WriteDebug(string.Format(CultureInfo.InvariantCulture, "RecoveryService - Going to upload the certificate"));
+ WriteDebug(string.Format(CultureInfo.InvariantCulture, Resources.UploadingCertToIdmgmt));
acsNamespace = UploadCert(cert, subscriptionId, Vault.Name, resourceType, Vault.ResourceGroupName);
- WriteDebug(string.Format(CultureInfo.InvariantCulture, "RecoveryService - Successfully uploaded the certificate"));
+ WriteDebug(string.Format(CultureInfo.InvariantCulture, Resources.UploadedCertToIdmgmt));
}
catch (Exception exception)
{
@@ -88,14 +89,8 @@ public override void ExecuteCmdlet()
// prepare for download
string fileName = string.Format("{0}_{1}.VaultCredentials", displayName, DateTime.UtcNow.ToString("yyyy-dd-M--HH-mm-ss"));
- string directoryPath = Path.GetDirectoryName(TargetLocation);
- if (directoryPath == null)
- {
- // TargetLocation is a root path
- directoryPath = TargetLocation;
- }
- string filePath = Path.Combine(directoryPath, fileName);
- WriteDebug(string.Format("Saving Vault Credentials to file : {0}", filePath));
+ string filePath = Path.Combine(TargetLocation, fileName);
+ WriteDebug(string.Format(Resources.SavingVaultCred, filePath));
File.WriteAllBytes(filePath, Encoding.UTF8.GetBytes(vaultCredsFileContent));
@@ -134,7 +129,7 @@ private AcsNamespace UploadCert(X509Certificate2 cert, string subscriptionId, st
},
};
- var vaultCredUploadCertResponse = AzureBackupClient.UploadCertificate("IdMgmtInternalCert", vaultCredUploadCertRequest);
+ var vaultCredUploadCertResponse = AzureBackupClient.UploadCertificate(resourceGroupName, resourceName, "IdMgmtInternalCert", vaultCredUploadCertRequest);
return new AcsNamespace(vaultCredUploadCertResponse.ResourceCertificateAndACSDetails.GlobalAcsHostName,
vaultCredUploadCertResponse.ResourceCertificateAndACSDetails.GlobalAcsNamespace,
@@ -186,7 +181,7 @@ private string GenerateVaultCredsForBackup(X509Certificate2 cert, string subscri
DataContractSerializer serializer = new DataContractSerializer(typeof(BackupVaultCreds));
serializer.WriteObject(writer, backupVaultCreds);
- WriteDebug(string.Format(CultureInfo.InvariantCulture, "RecoveryService - Backup Vault - Successfully serialized the file content"));
+ WriteDebug(string.Format(CultureInfo.InvariantCulture, Resources.BackupVaultSerialized));
}
return Encoding.UTF8.GetString(output.ToArray());
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
index b7ac40c9a508..786c156e036e 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj
@@ -56,13 +56,13 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
-
+
False
- ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.2-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll
+ ..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.3-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll
False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
@@ -122,6 +122,7 @@
+
@@ -131,26 +132,58 @@
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
True
@@ -194,9 +227,7 @@
Commands.Utilities
-
-
-
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs
index 65678f8542da..67d011686ac0 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ContainerHelpers.cs
@@ -36,6 +36,8 @@ namespace Microsoft.Azure.Commands.AzureBackup.Helpers
{
internal class ContainerHelpers
{
+ private static readonly Regex ResourceGroupRegex = new Regex(@"/subscriptions/(?.+)/resourceGroups/(?.+)/providers/(?.+)/BackupVault/(?.+)/containers/(?.+)", RegexOptions.Compiled);
+
internal static AzureBackupContainerType GetContainerType(string customerType)
{
CustomerType type = (CustomerType)Enum.Parse(typeof(CustomerType), customerType);
@@ -67,5 +69,88 @@ internal static AzureBackupContainerType GetContainerType(string customerType)
return containerType;
}
+
+ internal static AzureBackupContainerType GetTypeForManagedContainer(string managedContainerTypeString)
+ {
+ ManagedContainerType managedContainerType = (ManagedContainerType)Enum.Parse(typeof(ManagedContainerType), managedContainerTypeString, true);
+
+ AzureBackupContainerType containerType = 0;
+
+ switch (managedContainerType)
+ {
+ case ManagedContainerType.Invalid:
+ break;
+ case ManagedContainerType.IaasVM:
+ containerType = AzureBackupContainerType.AzureVM;
+ break;
+ case ManagedContainerType.IaasVMService:
+ break;
+ default:
+ break;
+ }
+
+ return containerType;
+ }
+
+ internal static string GetQueryFilter(ListContainerQueryParameter queryParams)
+ {
+ NameValueCollection collection = new NameValueCollection();
+ if (!String.IsNullOrEmpty(queryParams.ContainerTypeField))
+ {
+ collection.Add("ContainerType", queryParams.ContainerTypeField);
+ }
+
+ if (!String.IsNullOrEmpty(queryParams.ContainerStatusField))
+ {
+ collection.Add("ContainerStatus", queryParams.ContainerStatusField);
+ }
+
+ if (!String.IsNullOrEmpty(queryParams.ContainerFriendlyNameField))
+ {
+ collection.Add("FriendlyName", queryParams.ContainerFriendlyNameField);
+ }
+
+ if (collection == null || collection.Count == 0)
+ {
+ return String.Empty;
+ }
+
+ return CreateQueryString(collection);
+ }
+
+ internal static string GetRGNameFromId(string id)
+ {
+ var match = ResourceGroupRegex.Match(id);
+ if (match.Success)
+ {
+ var vmRGName = match.Groups["containersName"];
+ if (vmRGName != null && vmRGName.Success)
+ {
+ return vmRGName.Value;
+ }
+ }
+
+ return null;
+ }
+
+ private static string CreateQueryString(NameValueCollection collection)
+ {
+ string filterValue = string.Empty;
+
+ if (collection == null)
+ {
+ throw new ArgumentNullException("collection");
+ }
+
+ if (collection.Count > 0)
+ {
+ foreach (string key in collection.Keys)
+ {
+ filterValue += key + " eq '" + collection[key] + "' and ";
+ }
+ filterValue = filterValue.Remove(filterValue.Length - 5);
+ }
+ return filterValue;
+ }
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ItemHelpers.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ItemHelpers.cs
new file mode 100644
index 000000000000..66b1846bd302
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ItemHelpers.cs
@@ -0,0 +1,42 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Helpers
+{
+ internal class ItemHelpers
+ {
+ internal static string GetTypeForItem(string typeFromServiceRespone)
+ {
+ AzureBackupItemType managedContainerType = (AzureBackupItemType)Enum.Parse(typeof(AzureBackupItemType), typeFromServiceRespone, true);
+
+ string itemType = string.Empty;
+
+ switch (managedContainerType)
+ {
+ case AzureBackupItemType.IaasVM:
+ itemType = "AzureVM";
+ break;
+ }
+
+ return itemType;
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs
new file mode 100644
index 000000000000..97044655a262
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/ProtectionPolicyHelpers.cs
@@ -0,0 +1,783 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Threading;
+using Hyak.Common;
+using Microsoft.Azure.Commands.AzureBackup.Properties;
+using System.Net;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Cmdlets;
+using System.Linq;
+using Microsoft.Azure.Commands.AzureBackup.Models;
+using CmdletModel = Microsoft.Azure.Commands.AzureBackup.Models;
+using System.Collections.Specialized;
+using System.Web;
+using System.Text.RegularExpressions;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Helpers
+{
+ public static class ProtectionPolicyHelpers
+ {
+ public const int MinRetentionInDays = 1;
+ public const int MaxRetentionInDays = 366;
+ public const int MinRetention = 1;
+ public const int MaxRetentionInWeeks = 260;
+ public const int MaxRetentionInMonths = 120;
+ public const int MaxRetentionInYears = 99;
+ public const int MinPolicyNameLength = 3;
+ public const int MaxPolicyNameLength = 150;
+ public const string LastDayOfTheMonth = "Last";
+ public static Regex rgx = new Regex(@"^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$");
+
+ public static AzureRMBackupProtectionPolicy GetCmdletPolicy(CmdletModel.AzureRMBackupVault vault, CSMProtectionPolicyResponse sourcePolicy)
+ {
+ if (sourcePolicy == null)
+ {
+ return null;
+ }
+
+ return new AzureRMBackupProtectionPolicy(vault, sourcePolicy.Properties, sourcePolicy.Id);
+ }
+
+ public static IEnumerable GetCmdletPolicies(CmdletModel.AzureRMBackupVault vault, IEnumerable sourcePolicyList)
+ {
+ if (sourcePolicyList == null)
+ {
+ return null;
+ }
+
+ List targetList = new List();
+
+ foreach (var sourcePolicy in sourcePolicyList)
+ {
+ targetList.Add(GetCmdletPolicy(vault, sourcePolicy));
+ }
+
+ return targetList;
+ }
+
+ public static CSMBackupSchedule FillCSMBackupSchedule(string scheduleType, DateTime scheduleStartTime,
+ string[] scheduleRunDays)
+ {
+ var backupSchedule = new CSMBackupSchedule();
+
+ backupSchedule.BackupType = BackupType.Full.ToString();
+
+ scheduleType = FillScheduleType(scheduleType, scheduleRunDays);
+ backupSchedule.ScheduleRun = scheduleType;
+
+ if (string.Compare(scheduleType, ScheduleType.Weekly.ToString(), true) == 0)
+ {
+ backupSchedule.ScheduleRunDays = ParseScheduleRunDays(scheduleRunDays);
+ }
+
+ DateTime scheduleRunTime = ParseScheduleRunTime(scheduleStartTime);
+
+ backupSchedule.ScheduleRunTimes = new List { scheduleRunTime };
+
+ return backupSchedule;
+ }
+
+ public static void ValidateProtectionPolicyName(string policyName)
+ {
+ if(policyName.Length < MinPolicyNameLength || policyName.Length > MaxPolicyNameLength)
+ {
+ var exception = new ArgumentException(Resources.ProtectionPolicyNameLengthException);
+ throw exception;
+ }
+
+ if(!rgx.IsMatch(policyName))
+ {
+ var exception = new ArgumentException(Resources.ProtectionPolicyNameException);
+ throw exception;
+ }
+ }
+
+ public static string GetScheduleType(string[] ScheduleRunDays, string parameterSetName,
+ string dailyParameterSet, string weeklyParameterSet)
+ {
+ if (ScheduleRunDays != null && ScheduleRunDays.Length > 0)
+ {
+ if (parameterSetName == dailyParameterSet)
+ {
+ throw new ArgumentException(Resources.BackupScheduleDailyParamException);
+ }
+ else
+ {
+ return ScheduleType.Weekly.ToString();
+ }
+ }
+ else
+ {
+ if (parameterSetName == weeklyParameterSet)
+ {
+ throw new ArgumentException(Resources.BackupScheduleWeeklyParamException);
+ }
+ else
+ {
+ return ScheduleType.Daily.ToString();
+ }
+ }
+ }
+
+ public static void ValidateRetentionPolicy(IList retentionPolicyList, CSMBackupSchedule backupSchedule = null)
+ {
+ bool validateDailyRetention = false;
+ bool validateWeeklyRetention = false;
+ int dailyRetentionPolicyCount = 0;
+ int weeklyRetentionPolicyCount = 0;
+ int monthlyRetentionPolicyCount = 0;
+ int yearlyRetentionPolicyCount = 0;
+
+ if(retentionPolicyList.Count == 0 )
+ {
+ var exception = new ArgumentException(Resources.RetentionPolicyCountException);
+ throw exception;
+ }
+
+ foreach (AzureRMBackupRetentionPolicy retentionPolicy in retentionPolicyList)
+ {
+ if(retentionPolicy.RetentionType == RetentionType.Daily.ToString())
+ {
+ ValidateDailyRetention((AzureBackupDailyRetentionPolicy)retentionPolicy);
+ validateDailyRetention = true;
+ dailyRetentionPolicyCount = dailyRetentionPolicyCount + 1;
+ }
+ else if (retentionPolicy.RetentionType == RetentionType.Weekly.ToString())
+ {
+ ValidateWeeklyRetention((AzureBackupWeeklyRetentionPolicy)retentionPolicy);
+ validateWeeklyRetention = true;
+ if (backupSchedule != null)
+ {
+ var weeklyRetention = (AzureBackupWeeklyRetentionPolicy)retentionPolicy;
+ ValidateForWeeklyBackupScheduleDaysOfWeek(backupSchedule.ScheduleRun, backupSchedule.ScheduleRunDays, weeklyRetention.DaysOfWeek);
+ }
+ weeklyRetentionPolicyCount = weeklyRetentionPolicyCount + 1;
+ }
+ else if (retentionPolicy.RetentionType == RetentionType.Monthly.ToString())
+ {
+ ValidateMonthlyRetention((AzureBackupMonthlyRetentionPolicy)retentionPolicy);
+ if (backupSchedule != null)
+ {
+ var monthlyRetention = (AzureBackupMonthlyRetentionPolicy)retentionPolicy;
+ ValidateForWeeklyBackupSchedule(monthlyRetention.RetentionFormat, backupSchedule.ScheduleRun, backupSchedule.ScheduleRunDays, monthlyRetention.DaysOfWeek);
+ }
+ monthlyRetentionPolicyCount = monthlyRetentionPolicyCount + 1;
+ }
+ else if (retentionPolicy.RetentionType == RetentionType.Yearly.ToString())
+ {
+ ValidateYearlyRetention((AzureBackupYearlyRetentionPolicy)retentionPolicy);
+ if (backupSchedule != null)
+ {
+ var yearlyRetention = (AzureBackupYearlyRetentionPolicy)retentionPolicy;
+ ValidateForWeeklyBackupSchedule(yearlyRetention.RetentionFormat, backupSchedule.ScheduleRun, backupSchedule.ScheduleRunDays, yearlyRetention.DaysOfWeek);
+ }
+ yearlyRetentionPolicyCount = yearlyRetentionPolicyCount + 1;
+ }
+ }
+
+ ValidateRetentionPolicyCount(dailyRetentionPolicyCount, weeklyRetentionPolicyCount, monthlyRetentionPolicyCount,
+ yearlyRetentionPolicyCount);
+
+ if (backupSchedule != null)
+ {
+ string scheduleType = backupSchedule.ScheduleRun;
+ if (scheduleType == ScheduleType.Daily.ToString() && validateDailyRetention == false)
+ {
+ var exception = new ArgumentException(Resources.DailyScheduleException);
+ throw exception;
+ }
+
+ if (scheduleType == ScheduleType.Weekly.ToString() && validateWeeklyRetention == false)
+ {
+ var exception = new ArgumentException(Resources.WeeklyScheduleException);
+ throw exception;
+ }
+
+ if (scheduleType == ScheduleType.Weekly.ToString() && validateDailyRetention == true)
+ {
+ var exception = new ArgumentException(Resources.WeeklyScheduleWithDailyException);
+ throw exception;
+ }
+ }
+ }
+
+ private static string FillScheduleType(string scheduleType, string[] scheduleRunDays)
+ {
+ if (scheduleType == ScheduleType.Daily.ToString() && scheduleRunDays != null && scheduleRunDays.Length > 0)
+ {
+ return ScheduleType.Weekly.ToString();
+ }
+
+ else
+ {
+ return Enum.Parse(typeof(ScheduleType), scheduleType, true).ToString();
+ }
+ }
+
+ private static IList ParseScheduleRunDays(string[] scheduleRunDays)
+ {
+ if (scheduleRunDays == null || scheduleRunDays.Length <= 0)
+ {
+ var exception = new ArgumentException(Resources.WeeklyScheduleRunDaysException);
+ throw exception;
+ }
+
+ IList ListofWeekDays = new List();
+
+ foreach (var dayOfWeek in scheduleRunDays)
+ {
+ DayOfWeek item = (DayOfWeek)Enum.Parse(typeof(DayOfWeek), dayOfWeek, true);
+ if (!ListofWeekDays.Contains(item))
+ {
+ ListofWeekDays.Add(item);
+ }
+ }
+
+ return ListofWeekDays;
+ }
+
+ private static DateTime ParseScheduleRunTime(DateTime scheduleStartTime)
+ {
+ if (scheduleStartTime.Kind == DateTimeKind.Local)
+ {
+ scheduleStartTime = scheduleStartTime.ToUniversalTime();
+ }
+ DateTime scheduleRunTime = new DateTime(scheduleStartTime.Year, scheduleStartTime.Month,
+ scheduleStartTime.Day, scheduleStartTime.Hour, scheduleStartTime.Minute - (scheduleStartTime.Minute % 30), 0);
+ return scheduleRunTime;
+ }
+
+ private static void ValidateRetentionPolicyCount(int dailyRetentionCount, int weeklyRetentionCount,
+ int monthlyRetentionCount, int yearlyRetentionCount)
+ {
+ if(dailyRetentionCount > 1)
+ {
+ var exception = new ArgumentException(Resources.DailyRetentionPolicyException);
+ throw exception;
+ }
+
+ if (weeklyRetentionCount > 1)
+ {
+ var exception = new ArgumentException(Resources.WeeklyRetentionPolicyException);
+ throw exception;
+ }
+
+ if (monthlyRetentionCount > 1)
+ {
+ var exception = new ArgumentException(Resources.MonthlyRetentionPolicyException);
+ throw exception;
+ }
+
+ if (yearlyRetentionCount > 1)
+ {
+ var exception = new ArgumentException(Resources.YearlyRetentionPolicyException);
+ throw exception;
+ }
+
+ }
+
+ private static void ValidateDailyRetention(AzureBackupDailyRetentionPolicy dailyRetention)
+ {
+ if (dailyRetention.Retention < MinRetentionInDays || dailyRetention.Retention > MaxRetentionInDays)
+ {
+ var exception = new ArgumentException(string.Format(Resources.DailyRetentionPolicyValueException, MinRetentionInDays, MaxRetentionInDays));
+ throw exception;
+ }
+ }
+
+ private static void ValidateWeeklyRetention(AzureBackupWeeklyRetentionPolicy weeklyRetention)
+ {
+ if (weeklyRetention.Retention < MinRetention || weeklyRetention.Retention > MaxRetentionInWeeks)
+ {
+ var exception = new ArgumentException(string.Format(Resources.WeeklyRetentionPolicyValueException, MinRetention, MaxRetentionInWeeks));
+ throw exception;
+ }
+
+ if(weeklyRetention.DaysOfWeek == null || weeklyRetention.DaysOfWeek.Count == 0)
+ {
+ var exception = new ArgumentException(Resources.WeeklyRetentionPolicyDaysOfWeekException);
+ throw exception;
+ }
+ }
+
+ private static void ValidateMonthlyRetention(AzureBackupMonthlyRetentionPolicy monthlyRetention)
+ {
+ if (monthlyRetention.Retention < MinRetention || monthlyRetention.Retention > MaxRetentionInMonths)
+ {
+ var exception = new ArgumentException(string.Format(Resources.MonthlyRetentionPolicyValueException, MinRetention, MaxRetentionInMonths));
+ throw exception;
+ }
+
+ if(monthlyRetention.RetentionFormat == RetentionFormat.Daily)
+ {
+ if(monthlyRetention.DaysOfMonth == null || monthlyRetention.DaysOfMonth.Count == 0)
+ {
+ var exception = new ArgumentException(Resources.MonthlyRetentionPolicyDaysOfMonthParamException);
+ throw exception;
+ }
+
+ if(monthlyRetention.DaysOfWeek != null || monthlyRetention.WeekNumber != null)
+ {
+ var exception = new ArgumentException(Resources.MonthlyRetentionPolicyDaysOfWeekParamException);
+ throw exception;
+ }
+ }
+
+ if (monthlyRetention.RetentionFormat == RetentionFormat.Weekly)
+ {
+ if (monthlyRetention.DaysOfWeek == null || monthlyRetention.DaysOfWeek.Count == 0)
+ {
+ var exception = new ArgumentException(Resources.MonthlyRetentionPolicyDaysOfWeekException);
+ throw exception;
+ }
+
+ if (monthlyRetention.WeekNumber == null || monthlyRetention.WeekNumber.Count == 0)
+ {
+ var exception = new ArgumentException(Resources.MonthlyRetentionPolicyWeekNumException);
+ throw exception;
+ }
+
+ if (monthlyRetention.DaysOfMonth != null)
+ {
+ var exception = new ArgumentException(Resources.MonthlyRetentionPolicyDaysOfMonthsException);
+ throw exception;
+ }
+ }
+ }
+
+ private static void ValidateYearlyRetention(AzureBackupYearlyRetentionPolicy yearlyRetention)
+ {
+ if (yearlyRetention.Retention < MinRetention || yearlyRetention.Retention > MaxRetentionInYears)
+ {
+ var exception = new ArgumentException(string.Format(Resources.YearlyRetentionPolicyValueException, MinRetention, MaxRetentionInYears));
+ throw exception;
+ }
+
+ if(yearlyRetention.MonthsOfYear == null || yearlyRetention.MonthsOfYear.Count == 0)
+ {
+ var exception = new ArgumentException(Resources.YearlyRetentionPolicyMonthOfYearParamException);
+ throw exception;
+ }
+
+ if (yearlyRetention.RetentionFormat == RetentionFormat.Daily)
+ {
+ if (yearlyRetention.DaysOfMonth == null || yearlyRetention.DaysOfMonth.Count == 0)
+ {
+ var exception = new ArgumentException(Resources.YearlyRetentionPolicyDaysOfMonthParamException);
+ throw exception;
+ }
+
+ if (yearlyRetention.DaysOfWeek != null || yearlyRetention.WeekNumber != null)
+ {
+ var exception = new ArgumentException(Resources.YearlyRetentionPolicyDaysOfWeekParamException);
+ throw exception;
+ }
+ }
+
+ if (yearlyRetention.RetentionFormat == RetentionFormat.Weekly)
+ {
+ if (yearlyRetention.DaysOfWeek == null || yearlyRetention.DaysOfWeek.Count == 0)
+ {
+ var exception = new ArgumentException(Resources.YearlyRetentionPolicyDaysOfWeekInWeeksFormatParamException);
+ throw exception;
+ }
+
+ if (yearlyRetention.WeekNumber == null || yearlyRetention.WeekNumber.Count == 0)
+ {
+ var exception = new ArgumentException(Resources.YearlyRetentionPolicyWeekNumParamException);
+ throw exception;
+ }
+
+ if (yearlyRetention.DaysOfMonth != null)
+ {
+ var exception = new ArgumentException(Resources.YearlyRetentionPolicyDaysOfMonthInWeekFormatException);
+ throw exception;
+ }
+ }
+ }
+
+ private static void ValidateForWeeklyBackupSchedule(RetentionFormat RetentionScheduleType, string backupScheduleType, IList backupScheduleRunDays, List retentionScheduleRunDays)
+ {
+ if (string.Compare(backupScheduleType, ScheduleType.Weekly.ToString(), true) == 0)
+ {
+ if (RetentionScheduleType == RetentionFormat.Daily)
+ {
+ throw new ArgumentException(Resources.DaysOfMonthsNotAllowedinMonthlyYearlyFormat);
+ }
+ foreach (var day in retentionScheduleRunDays)
+ {
+ if (!backupScheduleRunDays.Contains(day))
+ {
+ throw new ArgumentException(Resources.MonthlyYearlyRetentionArgumentException);
+ }
+ }
+ }
+
+ }
+
+ private static void ValidateForWeeklyBackupScheduleDaysOfWeek(string backupScheduleType, IList backupScheduleRunDays, List retentionScheduleRunDays)
+ {
+ if (string.Compare(backupScheduleType, ScheduleType.Weekly.ToString(), true) == 0)
+ {
+ if(backupScheduleRunDays.Count != retentionScheduleRunDays.Count)
+ {
+ throw new ArgumentException(Resources.DaysOfTheWeekOfRetentionScheduleException);
+ }
+ foreach (var day in retentionScheduleRunDays)
+ {
+ if (!backupScheduleRunDays.Contains(day))
+ {
+ throw new ArgumentException(Resources.DaysofTheWeekInWeeklyRetentionException);
+ }
+ }
+ }
+
+ }
+
+ # region Conversion Helper Functions
+
+ public static IList ConvertCSMRetentionPolicyListToPowershell(CSMLongTermRetentionPolicy LTRRetentionPolicy)
+ {
+ IList retentionPolicyList = new List();
+ AzureBackupDailyRetentionPolicy dailyRetentionPolicy = ConvertToPowershellDailyRetentionObject(LTRRetentionPolicy.DailySchedule);
+ AzureBackupWeeklyRetentionPolicy weeklyRetentionPolicy = ConvertToPowershellWeeklyRetentionObject(LTRRetentionPolicy.WeeklySchedule);
+ AzureBackupMonthlyRetentionPolicy monthlyRetentionPolicy = ConvertToPowershellMonthlyRetentionObject(LTRRetentionPolicy.MonthlySchedule);
+ AzureBackupYearlyRetentionPolicy yearlyRetentionPolicy = ConvertToPowershellYearlyRetentionObject(LTRRetentionPolicy.YearlySchedule);
+
+ if (dailyRetentionPolicy != null)
+ {
+ retentionPolicyList.Add(dailyRetentionPolicy);
+ }
+ if (weeklyRetentionPolicy != null)
+ {
+ retentionPolicyList.Add(weeklyRetentionPolicy);
+ }
+ if (monthlyRetentionPolicy != null)
+ {
+ retentionPolicyList.Add(monthlyRetentionPolicy);
+ }
+ if (yearlyRetentionPolicy != null)
+ {
+ retentionPolicyList.Add(yearlyRetentionPolicy);
+ }
+
+ return retentionPolicyList;
+ }
+
+ public static List ConvertToPowershellScheduleRunDays(IList weekDaysList)
+ {
+ List scheduelRunDays = new List();
+
+ foreach (object item in weekDaysList)
+ {
+ scheduelRunDays.Add(item.ToString());
+ }
+
+ return scheduelRunDays;
+ }
+
+ public static DateTime ConvertToPowershellScheduleRunTimes(IList scheduleRunTimeList)
+ {
+ IEnumerator scheduleEnumerator = scheduleRunTimeList.GetEnumerator();
+ scheduleEnumerator.MoveNext();
+ return scheduleEnumerator.Current;
+ }
+
+ public static string ConvertToPowershellWorkloadType(string workloadType)
+ {
+ if(string.Compare(workloadType, "IaasVM", true) == 0)
+ {
+ return WorkloadType.AzureVM.ToString();
+ }
+ else
+ {
+ throw new ArgumentException(Resources.UnsupportedWorkloadTypeException);
+ }
+ }
+ public static CSMLongTermRetentionPolicy ConvertToCSMRetentionPolicyObject(IList retentionPolicyList, CSMBackupSchedule backupSchedule)
+ {
+ CSMLongTermRetentionPolicy csmLongTermRetentionPolicy = new CSMLongTermRetentionPolicy();
+ foreach (AzureRMBackupRetentionPolicy retentionPolicy in retentionPolicyList)
+ {
+ if (retentionPolicy.RetentionType == "Daily")
+ {
+ csmLongTermRetentionPolicy.DailySchedule = ConvertToCSMDailyRetentionObject((AzureBackupDailyRetentionPolicy)retentionPolicy,
+ backupSchedule.ScheduleRunTimes);
+ }
+ if (retentionPolicy.RetentionType == "Weekly")
+ {
+ csmLongTermRetentionPolicy.WeeklySchedule = ConvertToCSMWeeklyRetentionObject((AzureBackupWeeklyRetentionPolicy)retentionPolicy,
+ backupSchedule.ScheduleRunTimes);
+ }
+ if (retentionPolicy.RetentionType == "Monthly")
+ {
+ csmLongTermRetentionPolicy.MonthlySchedule = ConvertToGetCSMMonthlyRetentionObject((AzureBackupMonthlyRetentionPolicy)retentionPolicy,
+ backupSchedule.ScheduleRunTimes);
+ }
+ if (retentionPolicy.RetentionType == "Yearly")
+ {
+ csmLongTermRetentionPolicy.YearlySchedule = ConvertToCSMYearlyRetentionObject((AzureBackupYearlyRetentionPolicy)retentionPolicy,
+ backupSchedule.ScheduleRunTimes);
+ }
+ }
+
+ return csmLongTermRetentionPolicy;
+ }
+
+ public static string ConvertToCSMWorkLoadType(string workloadType)
+ {
+ string csmWorkloadType = "IaasVM";
+ WorkloadType type = (WorkloadType)Enum.Parse(typeof(WorkloadType), workloadType, true);
+
+ if (type == WorkloadType.AzureVM)
+ {
+ return csmWorkloadType;
+ }
+ else
+ {
+ throw new ArgumentException(Resources.UnsupportedWorkloadTypeException);
+ }
+ }
+
+ private static AzureBackupDailyRetentionPolicy ConvertToPowershellDailyRetentionObject(CSMDailyRetentionSchedule DailySchedule)
+ {
+ if (DailySchedule == null)
+ return null;
+ AzureBackupDailyRetentionPolicy dailyRetention = new AzureBackupDailyRetentionPolicy("Daily", DailySchedule.CSMRetentionDuration.Count);
+ dailyRetention.RetentionTimes = DailySchedule.RetentionTimes;
+
+ return dailyRetention;
+ }
+
+ private static AzureBackupWeeklyRetentionPolicy ConvertToPowershellWeeklyRetentionObject(CSMWeeklyRetentionSchedule WeeklySchedule)
+ {
+ if (WeeklySchedule == null)
+ return null;
+ AzureBackupWeeklyRetentionPolicy weeklyRetention = new AzureBackupWeeklyRetentionPolicy("Weekly", WeeklySchedule.CSMRetentionDuration.Count,
+ WeeklySchedule.DaysOfTheWeek);
+ weeklyRetention.RetentionTimes = WeeklySchedule.RetentionTimes;
+
+ return weeklyRetention;
+ }
+
+ private static AzureBackupMonthlyRetentionPolicy ConvertToPowershellMonthlyRetentionObject(CSMMonthlyRetentionSchedule MonthlySchedule)
+ {
+ if (MonthlySchedule == null)
+ return null;
+ AzureBackupMonthlyRetentionPolicy monthlyRetention = null;
+
+ RetentionFormat retentionFormat = (RetentionFormat)Enum.Parse(typeof(RetentionFormat), MonthlySchedule.RetentionScheduleType.ToString(), true);
+ if (retentionFormat == RetentionFormat.Daily)
+ {
+ List dayList = ConvertToPowershellDayList(MonthlySchedule.RetentionScheduleDaily.DaysOfTheMonth);
+ monthlyRetention = new AzureBackupMonthlyRetentionPolicy("Monthly", MonthlySchedule.CSMRetentionDuration.Count,
+ retentionFormat, dayList, null, null);
+ }
+ else if (retentionFormat == RetentionFormat.Weekly)
+ {
+ List weekNumberList = ConvertToPowershellWeekNumberList(MonthlySchedule.RetentionScheduleWeekly);
+ List dayOfWeekList = ConvertToPowershellWeekDaysList(MonthlySchedule.RetentionScheduleWeekly);
+ monthlyRetention = new AzureBackupMonthlyRetentionPolicy("Monthly", MonthlySchedule.CSMRetentionDuration.Count,
+ retentionFormat, null, weekNumberList, dayOfWeekList);
+ }
+
+ monthlyRetention.RetentionTimes = MonthlySchedule.RetentionTimes;
+ return monthlyRetention;
+ }
+
+ private static AzureBackupYearlyRetentionPolicy ConvertToPowershellYearlyRetentionObject(CSMYearlyRetentionSchedule YearlySchedule)
+ {
+ if (YearlySchedule == null)
+ return null;
+ AzureBackupYearlyRetentionPolicy yearlyRetention = null;
+
+ List monthOfTheYearList = ConvertToPowershellMonthsOfYearList(YearlySchedule.MonthsOfYear);
+
+ RetentionFormat retentionFormat = (RetentionFormat)Enum.Parse(typeof(RetentionFormat), YearlySchedule.RetentionScheduleType.ToString(), true);
+ if (retentionFormat == RetentionFormat.Daily)
+ {
+ List dayList = ConvertToPowershellDayList(YearlySchedule.RetentionScheduleDaily.DaysOfTheMonth);
+ yearlyRetention = new AzureBackupYearlyRetentionPolicy("Yearly", YearlySchedule.CSMRetentionDuration.Count,
+ monthOfTheYearList, retentionFormat, dayList, null, null);
+ }
+ else if (retentionFormat == RetentionFormat.Weekly)
+ {
+ List weekNumberList = ConvertToPowershellWeekNumberList(YearlySchedule.RetentionScheduleWeekly);
+ List dayOfWeekList = ConvertToPowershellWeekDaysList(YearlySchedule.RetentionScheduleWeekly);
+ yearlyRetention = new AzureBackupYearlyRetentionPolicy("Yearly", YearlySchedule.CSMRetentionDuration.Count,
+ monthOfTheYearList, retentionFormat, null, weekNumberList, dayOfWeekList);
+ }
+
+ yearlyRetention.RetentionTimes = YearlySchedule.RetentionTimes;
+ return yearlyRetention;
+ }
+
+ private static List ConvertToPowershellDayList(IList daysOfTheMonthList)
+ {
+ List dayList = new List();
+ foreach (Day day in daysOfTheMonthList)
+ {
+ if (day.IsLast)
+ {
+ dayList.Add(LastDayOfTheMonth);
+ }
+ else
+ {
+ dayList.Add(day.Date.ToString());
+ }
+
+ }
+
+ return dayList;
+ }
+
+ private static List ConvertToPowershellWeekNumberList(CSMWeeklyRetentionFormat csmWeekNumberList)
+ {
+ List weekNumberList = new List();
+ foreach (WeekNumber weekNumber in csmWeekNumberList.WeeksOfTheMonth)
+ {
+ weekNumberList.Add(weekNumber);
+ }
+ return weekNumberList;
+ }
+
+ private static List ConvertToPowershellWeekDaysList(CSMWeeklyRetentionFormat csmWeekNumberList)
+ {
+ List dayOfWeekList = new List();
+ foreach (DayOfWeek dayOfWeek in csmWeekNumberList.DaysOfTheWeek)
+ {
+ dayOfWeekList.Add(dayOfWeek);
+ }
+ return dayOfWeekList;
+ }
+
+ private static List ConvertToPowershellMonthsOfYearList(IList MonthsOfYear)
+ {
+ List monthOfTheYearList = new List();
+ foreach (Month monthOfTheYear in MonthsOfYear)
+ {
+ monthOfTheYearList.Add(monthOfTheYear);
+ }
+ return monthOfTheYearList;
+ }
+
+ private static CSMDailyRetentionSchedule ConvertToCSMDailyRetentionObject(AzureBackupDailyRetentionPolicy retentionPolicy, IList RetentionTimes)
+ {
+ CSMDailyRetentionSchedule csmDailyRetention = new CSMDailyRetentionSchedule();
+ csmDailyRetention.CSMRetentionDuration = new CSMRetentionDuration();
+ csmDailyRetention.CSMRetentionDuration.Count = retentionPolicy.Retention;
+ csmDailyRetention.CSMRetentionDuration.DurationType = RetentionDurationType.Days;
+ csmDailyRetention.RetentionTimes = RetentionTimes;
+
+ return csmDailyRetention;
+ }
+ private static CSMWeeklyRetentionSchedule ConvertToCSMWeeklyRetentionObject(AzureBackupWeeklyRetentionPolicy retentionPolicy, IList RetentionTimes)
+ {
+ CSMWeeklyRetentionSchedule csmWeeklyRetention = new CSMWeeklyRetentionSchedule();
+ csmWeeklyRetention.DaysOfTheWeek = retentionPolicy.DaysOfWeek;
+ csmWeeklyRetention.CSMRetentionDuration = new CSMRetentionDuration();
+ csmWeeklyRetention.CSMRetentionDuration.Count = retentionPolicy.Retention;
+ csmWeeklyRetention.CSMRetentionDuration.DurationType = RetentionDurationType.Weeks;
+ csmWeeklyRetention.RetentionTimes = RetentionTimes;
+ return csmWeeklyRetention;
+ }
+
+ private static CSMMonthlyRetentionSchedule ConvertToGetCSMMonthlyRetentionObject(AzureBackupMonthlyRetentionPolicy retentionPolicy, IList RetentionTimes)
+ {
+ CSMMonthlyRetentionSchedule csmMonthlyRetention = new CSMMonthlyRetentionSchedule();
+
+ if (retentionPolicy.RetentionFormat == RetentionFormat.Daily)
+ {
+ csmMonthlyRetention.RetentionScheduleType = RetentionScheduleFormat.Daily;
+ csmMonthlyRetention.RetentionScheduleDaily = new CSMDailyRetentionFormat();
+ csmMonthlyRetention.RetentionScheduleDaily.DaysOfTheMonth = ConvertToCSMDayList(retentionPolicy.DaysOfMonth);
+ }
+
+ else if (retentionPolicy.RetentionFormat == RetentionFormat.Weekly)
+ {
+ csmMonthlyRetention.RetentionScheduleWeekly = new CSMWeeklyRetentionFormat();
+ csmMonthlyRetention.RetentionScheduleType = RetentionScheduleFormat.Weekly;
+ csmMonthlyRetention.RetentionScheduleWeekly.DaysOfTheWeek = retentionPolicy.DaysOfWeek;
+ csmMonthlyRetention.RetentionScheduleWeekly.WeeksOfTheMonth = retentionPolicy.WeekNumber;
+ }
+
+ csmMonthlyRetention.CSMRetentionDuration = new CSMRetentionDuration();
+ csmMonthlyRetention.CSMRetentionDuration.Count = retentionPolicy.Retention;
+ csmMonthlyRetention.CSMRetentionDuration.DurationType = RetentionDurationType.Months;
+ csmMonthlyRetention.RetentionTimes = RetentionTimes;
+
+ return csmMonthlyRetention;
+ }
+
+ private static CSMYearlyRetentionSchedule ConvertToCSMYearlyRetentionObject(AzureBackupYearlyRetentionPolicy retentionPolicy, IList RetentionTimes)
+ {
+ CSMYearlyRetentionSchedule csmYearlyRetention = new CSMYearlyRetentionSchedule();
+
+ if (retentionPolicy.RetentionFormat == RetentionFormat.Daily)
+ {
+ csmYearlyRetention.RetentionScheduleType = RetentionScheduleFormat.Daily;
+ csmYearlyRetention.RetentionScheduleDaily = new CSMDailyRetentionFormat();
+ csmYearlyRetention.RetentionScheduleDaily.DaysOfTheMonth = ConvertToCSMDayList(retentionPolicy.DaysOfMonth);
+ }
+
+ else if (retentionPolicy.RetentionFormat == RetentionFormat.Weekly)
+ {
+ csmYearlyRetention.RetentionScheduleWeekly = new CSMWeeklyRetentionFormat();
+ csmYearlyRetention.RetentionScheduleType = RetentionScheduleFormat.Weekly;
+ csmYearlyRetention.RetentionScheduleWeekly.DaysOfTheWeek = retentionPolicy.DaysOfWeek;
+ csmYearlyRetention.RetentionScheduleWeekly.WeeksOfTheMonth = retentionPolicy.WeekNumber;
+ }
+
+ csmYearlyRetention.CSMRetentionDuration = new CSMRetentionDuration();
+ csmYearlyRetention.CSMRetentionDuration.Count = retentionPolicy.Retention;
+ csmYearlyRetention.CSMRetentionDuration.DurationType = RetentionDurationType.Years;
+ csmYearlyRetention.RetentionTimes = RetentionTimes;
+ csmYearlyRetention.MonthsOfYear = retentionPolicy.MonthsOfYear;
+
+ return csmYearlyRetention;
+ }
+
+ private static IList ConvertToCSMDayList(List DaysOfMonth)
+ {
+ IList dayList = new List();
+
+ foreach (string DayOfMonth in DaysOfMonth)
+ {
+ Day day = new Day();
+ if (string.Compare(DayOfMonth,"IsLast", true) == 0)
+ {
+ day.IsLast = true;
+ }
+ else
+ {
+ day.Date = Convert.ToInt32(DayOfMonth);
+ day.IsLast = false;
+ }
+ dayList.Add(day);
+ }
+
+ return dayList;
+ }
+
+ #endregion
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/VaultHelpers.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/VaultHelpers.cs
index a1d9d69b5b54..2bb8d3805a01 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/VaultHelpers.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Helpers/VaultHelpers.cs
@@ -26,9 +26,9 @@ internal static class VaultHelpers
///
///
///
- public static CmdletModel.AzurePSBackupVault GetCmdletVault(ClientModel.AzureBackupVault vault, string storageType)
+ public static CmdletModel.AzureRMBackupVault GetCmdletVault(ClientModel.AzureBackupVault vault, string storageType)
{
- var response = new CmdletModel.AzurePSBackupVault
+ var response = new CmdletModel.AzureRMBackupVault
{
ResourceId = vault.Id,
Name = vault.Name,
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.format.ps1xml b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.format.ps1xml
index 500adb8d49be..2e9d28348932 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.format.ps1xml
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.format.ps1xml
@@ -2,9 +2,9 @@
- Microsoft.Azure.Commands.AzureBackup.Models.AzurePSBackupVault
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupVault
- Microsoft.Azure.Commands.AzureBackup.Models.AzurePSBackupVault
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupVault
@@ -39,9 +39,60 @@
- Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupContainer
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupJob
- Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupContainer
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupJob
+
+
+
+
+
+ 15
+
+
+
+ 15
+
+
+
+ 15
+
+
+
+ 22
+
+
+
+ 22
+
+
+
+
+
+
+ WorkloadName
+
+
+ Operation
+
+
+ Status
+
+
+ StartTime
+
+
+ EndTime
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupContainer
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupContainer
@@ -75,5 +126,181 @@
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupRecoveryPoint
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupRecoveryPoint
+
+
+
+
+
+ 18
+
+
+
+ 18
+
+
+
+ 22
+
+
+
+ 36
+
+
+
+
+
+
+ RecoveryPointName
+
+
+ RecoveryPointType
+
+
+ RecoveryPointTime
+
+
+ ContainerUniqueName
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem
+
+
+
+
+
+ 26
+
+
+
+ 22
+
+
+
+ 22
+
+
+
+ 22
+
+
+
+ 22
+
+
+
+
+
+
+ Name
+
+
+ ProtectionStatus
+
+
+ DataSourceStatus
+
+
+ RecoveryPointsCount
+
+
+ ProtectionPolicyName
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupRetentionPolicy
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupRetentionPolicy
+
+
+
+
+
+ 18
+
+
+
+ 18
+
+
+
+ 60
+
+
+
+
+
+
+ RetentionType
+
+
+ Retention
+
+
+ RetentionTimes
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupProtectionPolicy
+
+ Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupProtectionPolicy
+
+
+
+
+
+ 25
+
+
+
+ 18
+
+
+
+ 18
+
+
+
+ 38
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+ ScheduleType
+
+
+ BackupTime
+
+
+
+
+
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupBaseObjects.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupBaseObjects.cs
index ff6434c7eab8..0d17acc695dd 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupBaseObjects.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupBaseObjects.cs
@@ -44,7 +44,7 @@ public AzureBackupVaultContextObject(string resourceGroupName, string resourceNa
Location = locationName;
}
- public AzureBackupVaultContextObject(AzurePSBackupVault vault)
+ public AzureBackupVaultContextObject(AzureRMBackupVault vault)
: this(vault.ResourceGroupName, vault.Name, vault.Region) { }
}
@@ -52,23 +52,79 @@ public AzureBackupVaultContextObject(AzurePSBackupVault vault)
/// This class encapsulates all the properties of the container object
/// that are needed by higher level objects (data source, recovery point etc).
///
- public class AzureBackupContainerContextObject : AzureBackupVaultContextObject
+ public class AzureRMBackupContainerContextObject : AzureBackupVaultContextObject
{
///
/// Type of the Azure Backup container
///
public string ContainerType { get; set; }
- public AzureBackupContainerContextObject()
+ ///
+ /// Unique name of the Azure Backup Container
+ ///
+ public string ContainerUniqueName { get; set; }
+
+ public AzureRMBackupContainerContextObject()
: base()
{
}
- public AzureBackupContainerContextObject(AzurePSBackupVault vault, MarsContainerResponse marsContainerResponse)
+ public AzureRMBackupContainerContextObject(AzureRMBackupVault vault, MarsContainerResponse marsContainerResponse)
: base(vault)
{
ContainerType = ContainerHelpers.GetContainerType(marsContainerResponse.Properties.CustomerType).ToString();
//ContainerUniqueName = marsContainerResponse.UniqueName;
}
+
+ public AzureRMBackupContainerContextObject(AzureRMBackupContainerContextObject azureBackupContainerContextObject)
+ : base(azureBackupContainerContextObject.ResourceGroupName, azureBackupContainerContextObject.ResourceName, azureBackupContainerContextObject.Location)
+ {
+ ContainerType = azureBackupContainerContextObject.ContainerType;
+ ContainerUniqueName = azureBackupContainerContextObject.ContainerUniqueName;
+ }
+ public AzureRMBackupContainerContextObject(AzureRMBackupContainer azureBackupContainer)
+ : base(azureBackupContainer.ResourceGroupName, azureBackupContainer.ResourceName, azureBackupContainer.Location)
+ {
+ ContainerType = azureBackupContainer.ContainerType;
+ ContainerUniqueName = azureBackupContainer.ContainerUniqueName;
+ }
+
+ public AzureRMBackupContainerContextObject(AzureRMBackupVault vault, CSMContainerResponse containerInfo)
+ : base(vault.ResourceGroupName, vault.Name, vault.Region)
+ {
+ ContainerType = ContainerHelpers.GetTypeForManagedContainer(containerInfo.Properties.ContainerType).ToString();
+ ContainerUniqueName = containerInfo.Name;
+ }
+ }
+
+ public class AzureRMBackupItemContextObject : AzureRMBackupContainerContextObject
+ {
+ ///
+ /// DataSourceName of Azure Backup Item
+ ///
+ public string ItemName { get; set; }
+
+ public AzureRMBackupItemContextObject()
+ : base()
+ {
+ }
+
+ public AzureRMBackupItemContextObject(AzureRMBackupItemContextObject azureBackupItemContextObject)
+ : base(azureBackupItemContextObject)
+ {
+ ItemName = azureBackupItemContextObject.ItemName;
+ }
+
+ public AzureRMBackupItemContextObject(CSMProtectedItemResponse item, AzureRMBackupContainer azureBackupContainer)
+ : base(azureBackupContainer)
+ {
+ ItemName = item.Name;
+ }
+
+ public AzureRMBackupItemContextObject(CSMItemResponse item, AzureRMBackupContainer azureBackupContainer)
+ : base(azureBackupContainer)
+ {
+ ItemName = item.Name;
+ }
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupContainer.cs
index eba87adff331..a687cef7af5f 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupContainer.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupContainer.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Models
///
/// Represents Azure Backup Container
///
- public class AzureBackupContainer : AzureBackupContainerContextObject
+ public class AzureRMBackupContainer : AzureRMBackupContainerContextObject
{
///
/// Resource name of the resource (ex: resource name of the VM) being managed by the Azure Backup service.
@@ -42,14 +42,23 @@ public class AzureBackupContainer : AzureBackupContainerContextObject
///
public string Status { get; set; }
- public AzureBackupContainer() : base() { }
+ public AzureRMBackupContainer() : base() { }
- public AzureBackupContainer(AzurePSBackupVault vault, MarsContainerResponse marsContainerResponse)
+ public AzureRMBackupContainer(AzureRMBackupVault vault, MarsContainerResponse marsContainerResponse)
: base(vault, marsContainerResponse)
{
Name = marsContainerResponse.Properties.FriendlyName;
Id = marsContainerResponse.Properties.ContainerId;
Status = AzureBackupContainerRegistrationStatus.Registered.ToString();
}
+
+ public AzureRMBackupContainer(AzureRMBackupVault vault, CSMContainerResponse containerInfo)
+ : base(vault, containerInfo)
+ {
+ //ManagedResourceGroupName = ContainerHelpers.GetRGNameFromId(containerInfo.Properties.ParentContainerId);
+ Name = containerInfo.Properties.FriendlyName;
+ //HealthStatus = containerInfo.Properties.HealthStatus;
+ Status = containerInfo.Properties.Status;
+ }
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs
index 332fb487024c..a4c6156f6d8c 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupEnums.cs
@@ -24,16 +24,93 @@ public enum AzureBackupContainerType
{
Windows = 1,
SCDPM,
+ AzureVM,
}
- public enum AzureBackupContainerStatusInput
+ public enum DataSourceType
{
- Registering = 1,
- Registered,
+ Invalid = 0,
+
+ VM
}
public enum AzureBackupContainerRegistrationStatus
{
Registered = 1,
+ Registering,
+ NotRegistered,
+ }
+
+ public enum ScheduleType
+ {
+ Invalid = 0,
+ Daily = 1,
+ Weekly = 2
+ }
+
+ public enum BackupType
+ {
+ Invalid = 0,
+ Full = 1
+ }
+
+ public enum CSMAzureBackupOperationStatus
+ {
+
+ Invalid = 0,
+
+
+ InProgress,
+
+
+ Cancelled,
+
+
+ Succeeded,
+
+
+ Failed,
+
+
+ PartialSuccess
+ }
+
+ public enum AzureBackupOperationErrorCode
+ {
+ BMSUserErrorObjectLocked = 390026,
+ DiscoveryInProgress = 410002,
+ }
+
+ public enum ManagedContainerType
+ {
+ Invalid = 0,
+ IaasVM,
+ IaasVMService,
+ }
+
+ public enum RetentionType
+ {
+ Invalid = 0,
+ Daily = 1,
+ Weekly = 2,
+ Monthly = 3,
+ Yearly = 4
+ }
+
+ public enum WorkloadType
+ {
+ Invalid = 0,
+ AzureVM = 1
+ }
+
+ public enum RetentionFormat
+ {
+ Daily,
+ Weekly
+ }
+
+ public enum AzureBackupItemType
+ {
+ IaasVM = 0
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupItem.cs
new file mode 100644
index 000000000000..b4c861e765bc
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupItem.cs
@@ -0,0 +1,97 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Microsoft.Azure.Management.BackupServices.Models;
+using Microsoft.Azure.Commands.AzureBackup.Helpers;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Models
+{
+ ///
+ /// Represents Azure Backup Item
+ ///
+ public class AzureRMBackupItem : AzureRMBackupItemContextObject
+ {
+ ///
+ /// Friendly Name for the Azure BackupItem
+ ///
+ public string Name { get; set; }
+
+ ///
+ /// Status for the Azure Backup Item
+ ///
+ public string DataSourceStatus { get; set; }
+
+ ///
+ /// Protection Status for the Azure Backup Item
+ ///
+ public string ProtectionStatus { get; set; }
+
+ ///
+ /// Type of Azure Backup Item
+ ///
+ public string Type { get; set; }
+
+ ///
+ /// Protection Policy Name for the Azure Backup Item
+ ///
+ public string ProtectionPolicyName { get; set; }
+
+ ///
+ /// Protection Policy Id for the Azure Backup Item
+ ///
+ public string ProtectionPolicyId { get; set; }
+
+ ///
+ /// Recovery Points Count for the Azure Backup Item
+ ///
+ public int RecoveryPointsCount { get; set; }
+
+ public AzureRMBackupItem()
+ : base()
+ {
+ }
+
+ public AzureRMBackupItem(CSMProtectedItemResponse datasource, AzureRMBackupContainer azureBackupContainer)
+ : base(datasource, azureBackupContainer)
+ {
+ DataSourceStatus = datasource.Properties.ProtectionStatus;
+ ProtectionStatus = datasource.Properties.Status;
+ ItemName = datasource.Name;
+ Name = datasource.Properties.FriendlyName;
+
+ if (datasource.Properties.ProtectionPolicyId != null)
+ {
+ ProtectionPolicyName = datasource.Properties.ProtectionPolicyId.Split('/').Last();
+ }
+
+ ProtectionPolicyId = datasource.Properties.ProtectionPolicyId;
+ RecoveryPointsCount = datasource.Properties.RecoveryPointsCount;
+ Type = ItemHelpers.GetTypeForItem(datasource.Properties.ItemType);
+ }
+
+ public AzureRMBackupItem(CSMItemResponse pPOItem, AzureRMBackupContainer azureBackupContainer)
+ : base(pPOItem, azureBackupContainer)
+ {
+ ProtectionStatus = pPOItem.Properties.Status;
+ ItemName = pPOItem.Name;
+ Name = pPOItem.Properties.FriendlyName;
+ Type = ItemHelpers.GetTypeForItem(pPOItem.Properties.ItemType);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupRecoveryPoint.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupRecoveryPoint.cs
new file mode 100644
index 000000000000..c26353993db8
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzureBackupRecoveryPoint.cs
@@ -0,0 +1,70 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.BackupServices.Models;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Models
+{
+ public class AzureBackupRecoveryPointContextObject : AzureRMBackupItemContextObject
+ {
+ ///
+ /// RecoveryPointId of Azure Backup Item
+ ///
+ public string RecoveryPointName { get; set; }
+
+ public AzureBackupRecoveryPointContextObject()
+ : base()
+ {
+ }
+
+ public AzureBackupRecoveryPointContextObject(CSMRecoveryPointResponse recoveryPointInfo, AzureRMBackupItem azureBackupItem)
+ : base(azureBackupItem)
+ {
+ RecoveryPointName = recoveryPointInfo.Name;
+ }
+ }
+
+ ///
+ /// Represents Azure Backup Container
+ ///
+ public class AzureRMBackupRecoveryPoint : AzureBackupRecoveryPointContextObject
+ {
+ ///
+ /// Last Recovery Point for the Azure Backup Item
+ ///
+ public DateTime RecoveryPointTime { get; set; }
+
+ ///
+ /// DataSourceId of Azure Backup Item
+ ///
+ public string RecoveryPointType { get; set; }
+
+ public AzureRMBackupRecoveryPoint()
+ : base()
+ {
+ }
+
+ public AzureRMBackupRecoveryPoint(CSMRecoveryPointResponse recoveryPointInfo, AzureRMBackupItem azureBackupItem)
+ : base(recoveryPointInfo, azureBackupItem)
+ {
+ RecoveryPointTime = recoveryPointInfo.Properties.RecoveryPointTime;
+ RecoveryPointType = recoveryPointInfo.Properties.RecoveryPointType;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzurePSBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzurePSBackupVault.cs
index 62324a3a36ea..a86ec7bc4aeb 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzurePSBackupVault.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/AzurePSBackupVault.cs
@@ -12,6 +12,7 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using Microsoft.Azure.Commands.AzureBackup.Properties;
using System;
namespace Microsoft.Azure.Commands.AzureBackup.Models
@@ -19,7 +20,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Models
///
/// Represents Azure Backup vault
///
- public class AzurePSBackupVault
+ public class AzureRMBackupVault
{
public string ResourceId { get; set; }
@@ -33,9 +34,9 @@ public class AzurePSBackupVault
public string Storage { get; set; }
- public AzurePSBackupVault() : base() { }
+ public AzureRMBackupVault() : base() { }
- public AzurePSBackupVault(string resourceGroupName, string resourceName, string region)
+ public AzureRMBackupVault(string resourceGroupName, string resourceName, string region)
{
ResourceGroupName = resourceGroupName;
Name = resourceName;
@@ -46,12 +47,12 @@ internal void Validate()
{
if (String.IsNullOrEmpty(ResourceGroupName))
{
- throw new ArgumentException("AzureBackupVault.ResourceGroupName");
+ throw new ArgumentException(Resources.BackupVaultRGNameNullOrEmpty);
}
if (String.IsNullOrEmpty(Name))
{
- throw new ArgumentException("AzureBackupVault.Name");
+ throw new ArgumentException(Resources.BackupVaultResNameNullOrEmpty);
}
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs
new file mode 100644
index 000000000000..89cdff0b87ba
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/JobObjects.cs
@@ -0,0 +1,148 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using System.Collections.Generic;
+using System.Xml;
+using System.Linq;
+using System.Web;
+using Microsoft.Azure.Management.BackupServices;
+using Microsoft.Azure.Management.BackupServices;
+using Mgmt = Microsoft.Azure.Management.BackupServices.Models;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Models
+{
+ public class AzureRMBackupJob : AzureBackupVaultContextObject
+ {
+ public string InstanceId { get; private set; }
+
+ public string WorkloadType { get; set; }
+
+ public string Operation { get; set; }
+
+ public string Status { get; set; }
+
+ public string WorkloadName { get; set; }
+
+ public TimeSpan Duration { get; set; }
+
+ public DateTime StartTime { get; set; }
+
+ public DateTime? EndTime { get; set; }
+
+ public bool IsCancellable { get; private set; }
+
+ public bool IsRetriable { get; private set; }
+
+ public List ErrorDetails { get; set; }
+
+ public AzureRMBackupJob(AzureRMBackupVault vault, Mgmt.CSMJobProperties serviceJob, string jobName)
+ : base(vault)
+ {
+ this.InstanceId = jobName;
+ this.WorkloadType = serviceJob.WorkloadType;
+ this.WorkloadName = serviceJob.EntityFriendlyName;
+ this.Operation = serviceJob.Operation;
+ this.Status = serviceJob.Status;
+ this.Duration = serviceJob.Duration;
+ this.StartTime = serviceJob.StartTimestamp;
+ this.EndTime = serviceJob.EndTimestamp;
+ this.ErrorDetails = new List();
+
+ if (serviceJob.ErrorDetails != null)
+ {
+ foreach (Mgmt.CSMJobErrorInfo error in serviceJob.ErrorDetails)
+ {
+ this.ErrorDetails.Add(new ErrorInfo(error));
+ }
+ }
+
+ this.IsRetriable = this.IsCancellable = false;
+
+ if (serviceJob.ActionsInfo != null)
+ {
+ for (int i = 0; i < serviceJob.ActionsInfo.Count; i++)
+ {
+ if (serviceJob.ActionsInfo[i] == Mgmt.JobSupportedAction.Cancellable)
+ this.IsCancellable = true;
+ else if (serviceJob.ActionsInfo[i] == Mgmt.JobSupportedAction.Retriable)
+ this.IsRetriable = true;
+ }
+ }
+ }
+ }
+
+ public class ErrorInfo
+ {
+ public int ErrorCode { get; set; }
+
+ public string ErrorMessage { get; set; }
+
+ // Not including ErrorTitle because we are not filling anything in it.
+
+ public List Recommendations { get; set; }
+
+ public ErrorInfo(Mgmt.CSMJobErrorInfo serviceErrorInfo)
+ {
+ this.ErrorCode = serviceErrorInfo.ErrorCode;
+ this.ErrorMessage = serviceErrorInfo.ErrorString;
+ this.Recommendations = new List();
+ foreach(string recommendation in serviceErrorInfo.Recommendations)
+ {
+ this.Recommendations.Add(recommendation);
+ }
+ }
+ }
+
+ public class AzureRMBackupJobDetails : AzureRMBackupJob
+ {
+ public Dictionary Properties { get; set; }
+
+ public List SubTasks { get; set; }
+
+ public AzureRMBackupJobDetails(AzureRMBackupVault vault, Mgmt.CSMJobDetailedProperties serviceJobProperties, string jobName)
+ : base(vault, serviceJobProperties, jobName)
+ {
+ if (serviceJobProperties.PropertyBag != null)
+ this.Properties = new Dictionary(serviceJobProperties.PropertyBag);
+ else
+ this.Properties = new Dictionary();
+
+ this.SubTasks = new List();
+ if(serviceJobProperties.TasksList != null)
+ {
+ foreach (Mgmt.CSMJobTaskDetails serviceSubTask in serviceJobProperties.TasksList)
+ {
+ this.SubTasks.Add(new AzureBackupJobSubTask(serviceSubTask));
+ }
+ }
+ }
+ }
+
+ public class AzureBackupJobSubTask
+ {
+ public string Name { get; set; }
+
+ public string Status { get; set; }
+
+ // Not adding other fields because service is not filling them today.
+
+ public AzureBackupJobSubTask(Mgmt.CSMJobTaskDetails serviceTask)
+ {
+ this.Name = serviceTask.TaskId;
+ this.Status = serviceTask.Status;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ListContainerQueryParameter.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ListContainerQueryParameter.cs
new file mode 100644
index 000000000000..08de6d174ffe
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ListContainerQueryParameter.cs
@@ -0,0 +1,41 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.BackupServices.Models;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Models
+{
+ internal class ListContainerQueryParameter : ManagementBaseObject
+ {
+ ///
+ ///Containers information for registration
+ ///
+ public string ContainerTypeField { get; set; }
+
+ ///
+ ///Containers status information
+ ///
+ public string ContainerStatusField { get; set; }
+
+ ///
+ ///Containers status information
+ ///
+ public string ContainerFriendlyNameField { get; set; }
+ }
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ProtectionPolicy.cs
new file mode 100644
index 000000000000..a1e5da5a9770
--- /dev/null
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Models/ProtectionPolicy.cs
@@ -0,0 +1,139 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Management.BackupServices.Models;
+using System;
+using System.Collections.Generic;
+using Microsoft.Azure.Commands.AzureBackup.Helpers;
+
+namespace Microsoft.Azure.Commands.AzureBackup.Models
+{
+ ///
+ /// Represents ProtectionPolicy object
+ ///
+ public class AzureRMBackupProtectionPolicy : AzureBackupVaultContextObject
+ {
+ ///
+ /// Name of the azurebackup object
+ ///
+
+ public string PolicyId { get; set; }
+
+ public string Name { get; set; }
+
+ public string Type { get; set; }
+
+ public string ScheduleType { get; set; }
+
+ public List DaysOfWeek { get; set; }
+
+ public DateTime BackupTime { get; set; }
+
+ public IList RetentionPolicy { get; set; }
+
+ public AzureRMBackupProtectionPolicy()
+ {
+ }
+
+ public AzureRMBackupProtectionPolicy(AzureRMBackupVault vault, CSMProtectionPolicyProperties sourcePolicy, string policyId)
+ : base(vault)
+ {
+ PolicyId = policyId;
+ Name = sourcePolicy.PolicyName;
+ Type = ProtectionPolicyHelpers.ConvertToPowershellWorkloadType(sourcePolicy.WorkloadType);
+ ScheduleType = sourcePolicy.BackupSchedule.ScheduleRun;
+ BackupTime = ProtectionPolicyHelpers.ConvertToPowershellScheduleRunTimes(sourcePolicy.BackupSchedule.ScheduleRunTimes);
+ DaysOfWeek = ProtectionPolicyHelpers.ConvertToPowershellScheduleRunDays(sourcePolicy.BackupSchedule.ScheduleRunDays);
+ RetentionPolicy = ProtectionPolicyHelpers.ConvertCSMRetentionPolicyListToPowershell(sourcePolicy.LtrRetentionPolicy);
+ }
+ }
+
+ public class AzureRMBackupRetentionPolicy
+ {
+ public string RetentionType { get; set; }
+
+ public int Retention { get; set; }
+
+ public IList RetentionTimes { get; set; }
+
+ public AzureRMBackupRetentionPolicy(string retentionType, int retention)
+ {
+ this.RetentionType = retentionType;
+ this.Retention = retention;
+ }
+ }
+
+ public class AzureBackupDailyRetentionPolicy : AzureRMBackupRetentionPolicy
+ {
+ public AzureBackupDailyRetentionPolicy(string retentionType, int retention)
+ : base(retentionType, retention)
+ { }
+ }
+
+ public class AzureBackupWeeklyRetentionPolicy : AzureRMBackupRetentionPolicy
+ {
+ public List DaysOfWeek { get; set; }
+ public AzureBackupWeeklyRetentionPolicy(string retentionType, int retention, IList daysOfWeek)
+ : base(retentionType, retention)
+ {
+ this.DaysOfWeek = new List(daysOfWeek);
+ }
+ }
+
+ public class AzureBackupMonthlyRetentionPolicy : AzureRMBackupRetentionPolicy
+ {
+ public RetentionFormat RetentionFormat { get; set; }
+
+ public List DaysOfMonth { get; set; }
+
+ public List WeekNumber { get; set; }
+
+ public List DaysOfWeek { get; set; }
+
+ public AzureBackupMonthlyRetentionPolicy(string retentionType, int retention, RetentionFormat retentionFormat, List daysOfMonth,
+ List weekNumber, List daysOfWeek)
+ : base(retentionType, retention)
+ {
+ this.RetentionFormat = retentionFormat;
+ this.DaysOfMonth = daysOfMonth;
+ this.WeekNumber = weekNumber;
+ this.DaysOfWeek = daysOfWeek;
+ }
+ }
+
+ public class AzureBackupYearlyRetentionPolicy : AzureRMBackupRetentionPolicy
+ {
+ public List MonthsOfYear { get; set; }
+
+ public RetentionFormat RetentionFormat { get; set; }
+
+ public List DaysOfMonth { get; set; }
+
+ public List WeekNumber { get; set; }
+
+ public List DaysOfWeek { get; set; }
+
+ public AzureBackupYearlyRetentionPolicy(string retentionType, int retention, List monthsOfYear, RetentionFormat retentionFormat, List daysOfMonth,
+ List weekNumber, List daysOfWeek)
+ : base(retentionType, retention)
+ {
+ this.MonthsOfYear = monthsOfYear;
+ this.RetentionFormat = retentionFormat;
+ this.DaysOfMonth = daysOfMonth;
+ this.WeekNumber = weekNumber;
+ this.DaysOfWeek = daysOfWeek;
+ }
+ }
+
+}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs
index 515623e43787..5f78194dd775 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.34014
+// Runtime Version:4.0.30319.18449
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -60,6 +60,678 @@ internal Resources() {
}
}
+ ///
+ /// Looks up a localized string similar to Handling aggregate exception.
+ ///
+ internal static string AggregateException {
+ get {
+ return ResourceManager.GetString("AggregateException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Exiting because all jobs have finished running..
+ ///
+ internal static string AllJobsCompleted {
+ get {
+ return ResourceManager.GetString("AllJobsCompleted", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Received ArgumentException.
+ ///
+ internal static string ArgumentException {
+ get {
+ return ResourceManager.GetString("ArgumentException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Received Azure Backup Item response.
+ ///
+ internal static string AzureBackupItemResponse {
+ get {
+ return ResourceManager.GetString("AzureBackupItemResponse", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Please specify both From and To..
+ ///
+ internal static string AzureBackupJobArguementException {
+ get {
+ return ResourceManager.GetString("AzureBackupJobArguementException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Type of input paramter is List<AzureBackupJob> second case.
+ ///
+ internal static string AzureBackupJobInputType {
+ get {
+ return ResourceManager.GetString("AzureBackupJobInputType", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The specified Azure Virtual Machine Not Found. Possible causes are
+ ///1. VM does not exist
+ ///2. VM is Azure IaaS v2 VM
+ ///3. The VM name or the Service name needs to be case sensitive
+ ///4. VM is already Registered with same or other Vault. Please Unregister VM first and then try to register it again.
+ ///
+ ///Please contact Microsoft for further assistant..
+ ///
+ internal static string AzureVMNotFound {
+ get {
+ return ResourceManager.GetString("AzureVMNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}, Location: {2}.
+ ///
+ internal static string BackupItemCmdletCalled {
+ get {
+ return ResourceManager.GetString("BackupItemCmdletCalled", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For daily backup schedule, protection policy cannot have DaysOfWeek param in backup schedule.
+ ///
+ internal static string BackupScheduleDailyParamException {
+ get {
+ return ResourceManager.GetString("BackupScheduleDailyParamException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For weekly backup schedule, DaysOfWeek in backup schedule is mandatory and cannot be empty.
+ ///
+ internal static string BackupScheduleWeeklyParamException {
+ get {
+ return ResourceManager.GetString("BackupScheduleWeeklyParamException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to AzureBackupVault.Name.
+ ///
+ internal static string BackupVaultResNameNullOrEmpty {
+ get {
+ return ResourceManager.GetString("BackupVaultResNameNullOrEmpty", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to AzureBackupVault.ResourceGroupName.
+ ///
+ internal static string BackupVaultRGNameNullOrEmpty {
+ get {
+ return ResourceManager.GetString("BackupVaultRGNameNullOrEmpty", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to RecoveryService - Backup Vault - Successfully serialized the file content.
+ ///
+ internal static string BackupVaultSerialized {
+ get {
+ return ResourceManager.GetString("BackupVaultSerialized", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Reregistration can be enable only for machine containers..
+ ///
+ internal static string CannotEnableRegistration {
+ get {
+ return ResourceManager.GetString("CannotEnableRegistration", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Received CloudException, ErrorCode: {0}, Message: {1}.
+ ///
+ internal static string CloudException {
+ get {
+ return ResourceManager.GetString("CloudException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Received CloudException, StatusCode: {0}.
+ ///
+ internal static string CloudExceptionCodeNotFound {
+ get {
+ return ResourceManager.GetString("CloudExceptionCodeNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}, Location: {2}.
+ ///
+ internal static string CmdletCalled {
+ get {
+ return ResourceManager.GetString("CmdletCalled", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Count of containers after resource group filter = {0}.
+ ///
+ internal static string ContainerCountAfterFilter {
+ get {
+ return ResourceManager.GetString("ContainerCountAfterFilter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Container count returned from service: {0}.
+ ///
+ internal static string ContainerCountFromService {
+ get {
+ return ResourceManager.GetString("ContainerCountFromService", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Container is not discovered.
+ ///
+ internal static string ContainerNotDiscovered {
+ get {
+ return ResourceManager.GetString("ContainerNotDiscovered", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Input is container Type = {0}.
+ ///
+ internal static string ContainerTypeInput {
+ get {
+ return ResourceManager.GetString("ContainerTypeInput", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Creating backup vault with ResourceGroupName: {0}, ResourceName: {1}.
+ ///
+ internal static string CreatingBackupVault {
+ get {
+ return ResourceManager.GetString("CreatingBackupVault", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Only one AzureBackupDailyRetentionPolicy in RetentionPolicies is allowed.
+ ///
+ internal static string DailyRetentionPolicyException {
+ get {
+ return ResourceManager.GetString("DailyRetentionPolicyException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupDailyRetentionPolicy , valid values of retention are {0} to {1}.
+ ///
+ internal static string DailyRetentionPolicyValueException {
+ get {
+ return ResourceManager.GetString("DailyRetentionPolicyValueException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For Daily Schedule, AzureBackupDailyRetentionPolicy in RetentionPolicies param is mandatory.
+ ///
+ internal static string DailyScheduleException {
+ get {
+ return ResourceManager.GetString("DailyScheduleException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Days of the month in Monthly/Yearly retention is not allowed for weekly backup Schedules.
+ ///
+ internal static string DaysOfMonthsNotAllowedinMonthlyYearlyFormat {
+ get {
+ return ResourceManager.GetString("DaysOfMonthsNotAllowedinMonthlyYearlyFormat", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to DaysofTheWeek list in Weekly retention schedule must be same of backup schedule DaysOfTheWeek.
+ ///
+ internal static string DaysofTheWeekInWeeklyRetentionException {
+ get {
+ return ResourceManager.GetString("DaysofTheWeekInWeeklyRetentionException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to DaysOfTheWeek of retention schedule must be same of backup schedule DaysOfTheWeek.
+ ///
+ internal static string DaysOfTheWeekOfRetentionScheduleException {
+ get {
+ return ResourceManager.GetString("DaysOfTheWeekOfRetentionScheduleException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Desired Container is not found. Returning with isDiscoveryNeed = true.
+ ///
+ internal static string DesiredContainerNotFound {
+ get {
+ return ResourceManager.GetString("DesiredContainerNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Received disable azure backup protection response.
+ ///
+ internal static string DisableAzureBackupProtection {
+ get {
+ return ResourceManager.GetString("DisableAzureBackupProtection", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to discover VM {0} under {1} {2}. Please make sure names are correct and VM is not deleted".
+ ///
+ internal static string DiscoveryFailure {
+ get {
+ return ResourceManager.GetString("DiscoveryFailure", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Discovery operation failed with ErrorCode: {0}.
+ ///
+ internal static string DiscoveryFailureErrorCode {
+ get {
+ return ResourceManager.GetString("DiscoveryFailureErrorCode", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Received enable azure backup protection response.
+ ///
+ internal static string EnableAzureBackupProtection {
+ get {
+ return ResourceManager.GetString("EnableAzureBackupProtection", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to EndTime filter is: {0}.
+ ///
+ internal static string EndTimeFilter {
+ get {
+ return ResourceManager.GetString("EndTimeFilter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to End time not set. Setting it to current time.
+ ///
+ internal static string EndTimeNotSet {
+ get {
+ return ResourceManager.GetString("EndTimeNotSet", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Caught exception, type: {0}.
+ ///
+ internal static string ExceptionInExecution {
+ get {
+ return ResourceManager.GetString("ExceptionInExecution", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Executing cmdlet with SubscriptionId = {0}, ResourceGroupName = {1}, ResourceName = {2}, TargetLocation = {3}.
+ ///
+ internal static string ExecutingGetVaultCredCmdlet {
+ get {
+ return ResourceManager.GetString("ExecutingGetVaultCredCmdlet", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Fetched {0} containers.
+ ///
+ internal static string FetchedContainer {
+ get {
+ return ResourceManager.GetString("FetchedContainer", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Initialized AzureBackup Cmdlet, ClientRequestId: {0}, ResourceGroupName: {1}, ResourceName : {2}.
+ ///
+ internal static string InitializingClient {
+ get {
+ return ResourceManager.GetString("InitializingClient", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to JobID is: {0}.
+ ///
+ internal static string JobId {
+ get {
+ return ResourceManager.GetString("JobId", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to JobID filter is: {0}.
+ ///
+ internal static string JobIdFilter {
+ get {
+ return ResourceManager.GetString("JobIdFilter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Successfully retrieved job.
+ ///
+ internal static string JobResponse {
+ get {
+ return ResourceManager.GetString("JobResponse", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Successfully retrieved all jobs. Number of jobs retrieved: {0}.
+ ///
+ internal static string JobRetrieved {
+ get {
+ return ResourceManager.GetString("JobRetrieved", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Making client call.
+ ///
+ internal static string MakingClientCall {
+ get {
+ return ResourceManager.GetString("MakingClientCall", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Days, DaysOfMonth param is mandatory and can not be empty.
+ ///
+ internal static string MonthlyRetentionPolicyDaysOfMonthParamException {
+ get {
+ return ResourceManager.GetString("MonthlyRetentionPolicyDaysOfMonthParamException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed..
+ ///
+ internal static string MonthlyRetentionPolicyDaysOfMonthsException {
+ get {
+ return ResourceManager.GetString("MonthlyRetentionPolicyDaysOfMonthsException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfWeek param is mandatory and can not be empty.
+ ///
+ internal static string MonthlyRetentionPolicyDaysOfWeekException {
+ get {
+ return ResourceManager.GetString("MonthlyRetentionPolicyDaysOfWeekException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed.
+ ///
+ internal static string MonthlyRetentionPolicyDaysOfWeekParamException {
+ get {
+ return ResourceManager.GetString("MonthlyRetentionPolicyDaysOfWeekParamException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Only one AzureBackupMonthlyRetentionPolicy in RetentionPolicies is allowed.
+ ///
+ internal static string MonthlyRetentionPolicyException {
+ get {
+ return ResourceManager.GetString("MonthlyRetentionPolicyException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy , valid values of retention are {0} to {1}.
+ ///
+ internal static string MonthlyRetentionPolicyValueException {
+ get {
+ return ResourceManager.GetString("MonthlyRetentionPolicyValueException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, WeekNumber param is mandatory and can not be empty.
+ ///
+ internal static string MonthlyRetentionPolicyWeekNumException {
+ get {
+ return ResourceManager.GetString("MonthlyRetentionPolicyWeekNumException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Days of the week list in Monthly/Yearly retention schedule should be subset of Day of week list in Backup Schedule.
+ ///
+ internal static string MonthlyYearlyRetentionArgumentException {
+ get {
+ return ResourceManager.GetString("MonthlyYearlyRetentionArgumentException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No recovery point exist with Id := {0}.
+ ///
+ internal static string NoRpExist {
+ get {
+ return ResourceManager.GetString("NoRpExist", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No recovery point found.
+ ///
+ internal static string NoRpFound {
+ get {
+ return ResourceManager.GetString("NoRpFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Number of jobs to wait on: {0}.
+ ///
+ internal static string NumberOfJobsForWaiting {
+ get {
+ return ResourceManager.GetString("NumberOfJobsForWaiting", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Operation filter is: {0}.
+ ///
+ internal static string OperationFilter {
+ get {
+ return ResourceManager.GetString("OperationFilter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to OperationStatus : {0}.
+ ///
+ internal static string OperationStatus {
+ get {
+ return ResourceManager.GetString("OperationStatus", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to A protection policy with the specified name already exists..
+ ///
+ internal static string PolicyAlreadyExist {
+ get {
+ return ResourceManager.GetString("PolicyAlreadyExist", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For DaysOfWeek, weekly switch param is required.
+ ///
+ internal static string PolicyArgumentException {
+ get {
+ return ResourceManager.GetString("PolicyArgumentException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Protection Policy {0} not found.
+ ///
+ internal static string PolicyNotFound {
+ get {
+ return ResourceManager.GetString("PolicyNotFound", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to ParameterSetName = {0}.
+ ///
+ internal static string PolicyParameterSet {
+ get {
+ return ResourceManager.GetString("PolicyParameterSet", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Protection Policy successfully updated.
+ ///
+ internal static string PolicyUpdated {
+ get {
+ return ResourceManager.GetString("PolicyUpdated", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Protection Policy successfully updated and created job(s) to re-configure protection on associated items.
+ ///
+ internal static string PolicyUpdatedReconfigureProtectionDone {
+ get {
+ return ResourceManager.GetString("PolicyUpdatedReconfigureProtectionDone", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Protection policy created successfully.
+ ///
+ internal static string ProtectionPolicyCreated {
+ get {
+ return ResourceManager.GetString("ProtectionPolicyCreated", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Successfully deleted policy.
+ ///
+ internal static string ProtectionPolicyDeleted {
+ get {
+ return ResourceManager.GetString("ProtectionPolicyDeleted", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The protection policy name should contain alphanumeric characters and cannot start with a number.
+ ///
+ internal static string ProtectionPolicyNameException {
+ get {
+ return ResourceManager.GetString("ProtectionPolicyNameException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The protection policy name must contain between 3 and 150 characters.
+ ///
+ internal static string ProtectionPolicyNameLengthException {
+ get {
+ return ResourceManager.GetString("ProtectionPolicyNameLengthException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Please make sure you have pass right set of parameters.
+ ///
+ internal static string PSArgumentException {
+ get {
+ return ResourceManager.GetString("PSArgumentException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to In loop querying jobs.
+ ///
+ internal static string QueryingJobs {
+ get {
+ return ResourceManager.GetString("QueryingJobs", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No jobs to wait on. Quitting..
+ ///
+ internal static string QuittingWaitJob {
+ get {
+ return ResourceManager.GetString("QuittingWaitJob", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Registering ARM-V1 VM, VMName: {0}, CloudServiceName: {1}.
+ ///
+ internal static string RegisteringARMVM1 {
+ get {
+ return ResourceManager.GetString("RegisteringARMVM1", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Registering ARM-V2 VM, VMName: {0}, ResourceGroupName: {1}.
+ ///
+ internal static string RegisteringARMVM2 {
+ get {
+ return ResourceManager.GetString("RegisteringARMVM2", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Going to register VM {0}.
+ ///
+ internal static string RegisteringVM {
+ get {
+ return ResourceManager.GetString("RegisteringVM", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Going to retry Discovery if retry count is not exceeded.
+ ///
+ internal static string RertyDiscovery {
+ get {
+ return ResourceManager.GetString("RertyDiscovery", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to The specified resource does not exist..
///
@@ -69,6 +741,141 @@ internal static string ResourceNotFoundMessage {
}
}
+ ///
+ /// Looks up a localized string similar to Atleast one retention policy in RetentionPolicies param is mandatory.
+ ///
+ internal static string RetentionPolicyCountException {
+ get {
+ return ResourceManager.GetString("RetentionPolicyCountException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Saving Vault Credentials to file : {0}.
+ ///
+ internal static string SavingVaultCred {
+ get {
+ return ResourceManager.GetString("SavingVaultCred", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Setting end time to min value.
+ ///
+ internal static string SettingEndTime {
+ get {
+ return ResourceManager.GetString("SettingEndTime", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Setting StartTime to min value.
+ ///
+ internal static string SettingStartTime {
+ get {
+ return ResourceManager.GetString("SettingStartTime", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Setting storage type for the resource, Type: {0}.
+ ///
+ internal static string SettingStorageType {
+ get {
+ return ResourceManager.GetString("SettingStorageType", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to StartTime filter is: {0}.
+ ///
+ internal static string StartTimeFilter {
+ get {
+ return ResourceManager.GetString("StartTimeFilter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Status filter is: {0}.
+ ///
+ internal static string StatusFilter {
+ get {
+ return ResourceManager.GetString("StatusFilter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Stop Job failed with ErrorCode: {0}.
+ ///
+ internal static string StopJobFailed {
+ get {
+ return ResourceManager.GetString("StopJobFailed", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to From should be lesser than To.
+ ///
+ internal static string TimeFilterNotCorrect {
+ get {
+ return ResourceManager.GetString("TimeFilterNotCorrect", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Exiting due to timeout..
+ ///
+ internal static string TimeOutWaitInJob {
+ get {
+ return ResourceManager.GetString("TimeOutWaitInJob", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Triggered cancellation of job with JobID: {0}.
+ ///
+ internal static string TriggeredCancellationJob {
+ get {
+ return ResourceManager.GetString("TriggeredCancellationJob", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Triggered backup. Converting response {0}.
+ ///
+ internal static string TriggeringBackup {
+ get {
+ return ResourceManager.GetString("TriggeringBackup", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Triggered Restore. Converting response {0}.
+ ///
+ internal static string TriggeringRestore {
+ get {
+ return ResourceManager.GetString("TriggeringRestore", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Type filter is: {0}.
+ ///
+ internal static string TypeFilter {
+ get {
+ return ResourceManager.GetString("TypeFilter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unknown item type.
+ ///
+ internal static string UnknownItemType {
+ get {
+ return ResourceManager.GetString("UnknownItemType", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Unregister Server.
///
@@ -86,5 +893,185 @@ internal static string UnregisterServerMessage {
return ResourceManager.GetString("UnregisterServerMessage", resourceCulture);
}
}
+
+ ///
+ /// Looks up a localized string similar to Unsupported WorkloadType.
+ ///
+ internal static string UnsupportedWorkloadTypeException {
+ get {
+ return ResourceManager.GetString("UnsupportedWorkloadTypeException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to RecoveryService - Successfully uploaded the certificate.
+ ///
+ internal static string UploadedCertToIdmgmt {
+ get {
+ return ResourceManager.GetString("UploadedCertToIdmgmt", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to RecoveryService - Going to upload the certificate.
+ ///
+ internal static string UploadingCertToIdmgmt {
+ get {
+ return ResourceManager.GetString("UploadingCertToIdmgmt", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The target location provided is not a directory. Please provide a directory..
+ ///
+ internal static string VaultCredPathException {
+ get {
+ return ResourceManager.GetString("VaultCredPathException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to VM {0} is not yet discovered. Triggering Discovery.
+ ///
+ internal static string VMNotDiscovered {
+ get {
+ return ResourceManager.GetString("VMNotDiscovered", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Received WebException, Response: {0}, Status: {1}.
+ ///
+ internal static string WebException {
+ get {
+ return ResourceManager.GetString("WebException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupWeeklyRetentionPolicy , DaysOfWeek param is mandatory and can not be empty.
+ ///
+ internal static string WeeklyRetentionPolicyDaysOfWeekException {
+ get {
+ return ResourceManager.GetString("WeeklyRetentionPolicyDaysOfWeekException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Only one AzureBackupWeeklyRetentionPolicy in RetentionPolicies is allowed.
+ ///
+ internal static string WeeklyRetentionPolicyException {
+ get {
+ return ResourceManager.GetString("WeeklyRetentionPolicyException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupWeeklyRetentionPolicy , valid values of retention are {0} to {1}.
+ ///
+ internal static string WeeklyRetentionPolicyValueException {
+ get {
+ return ResourceManager.GetString("WeeklyRetentionPolicyValueException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For Weekly Schedule, AzureBackupWeeklyRetentionPolicy in RetentionPolicies param is mandatory.
+ ///
+ internal static string WeeklyScheduleException {
+ get {
+ return ResourceManager.GetString("WeeklyScheduleException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For weekly scheduletype , ScheduleRunDays param is mandatory and can not be empty..
+ ///
+ internal static string WeeklyScheduleRunDaysException {
+ get {
+ return ResourceManager.GetString("WeeklyScheduleRunDaysException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For Weekly Schedule, AzureBackupDailyRetentionPolicy in RetentionPolicies param is not allowed.
+ ///
+ internal static string WeeklyScheduleWithDailyException {
+ get {
+ return ResourceManager.GetString("WeeklyScheduleWithDailyException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed.
+ ///
+ internal static string YearlyRetentionPolicyDaysOfMonthInWeekFormatException {
+ get {
+ return ResourceManager.GetString("YearlyRetentionPolicyDaysOfMonthInWeekFormatException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Days, DaysOfMonth param is mandatory and can not be empty.
+ ///
+ internal static string YearlyRetentionPolicyDaysOfMonthParamException {
+ get {
+ return ResourceManager.GetString("YearlyRetentionPolicyDaysOfMonthParamException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfWeek param is mandatory and can not be empty.
+ ///
+ internal static string YearlyRetentionPolicyDaysOfWeekInWeeksFormatParamException {
+ get {
+ return ResourceManager.GetString("YearlyRetentionPolicyDaysOfWeekInWeeksFormatParamException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed.
+ ///
+ internal static string YearlyRetentionPolicyDaysOfWeekParamException {
+ get {
+ return ResourceManager.GetString("YearlyRetentionPolicyDaysOfWeekParamException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Only one AzureBackupYearlyRetentionPolicy in RetentionPolicies is allowed.
+ ///
+ internal static string YearlyRetentionPolicyException {
+ get {
+ return ResourceManager.GetString("YearlyRetentionPolicyException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in days, MonthsOfYear param is mandatory and can not be empty.
+ ///
+ internal static string YearlyRetentionPolicyMonthOfYearParamException {
+ get {
+ return ResourceManager.GetString("YearlyRetentionPolicyMonthOfYearParamException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy , valid values of retention are {0} to {1}.
+ ///
+ internal static string YearlyRetentionPolicyValueException {
+ get {
+ return ResourceManager.GetString("YearlyRetentionPolicyValueException", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, WeekNumber param is mandatory and can not be empty.
+ ///
+ internal static string YearlyRetentionPolicyWeekNumParamException {
+ get {
+ return ResourceManager.GetString("YearlyRetentionPolicyWeekNumParamException", resourceCulture);
+ }
+ }
}
}
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
index 3abfe5b400d9..28203c10b30d 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Properties/Resources.resx
@@ -117,13 +117,347 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Handling aggregate exception
+
+
+ Exiting because all jobs have finished running.
+
+
+ Received ArgumentException
+
+
+ Received Azure Backup Item response
+
+
+ Please specify both From and To.
+
+
+ Type of input paramter is List<AzureBackupJob> second case
+
+
+ The specified Azure Virtual Machine Not Found. Possible causes are
+1. VM does not exist
+2. VM is Azure IaaS v2 VM
+3. The VM name or the Service name needs to be case sensitive
+4. VM is already Registered with same or other Vault. Please Unregister VM first and then try to register it again.
+
+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 weekly backup schedule, DaysOfWeek in backup schedule is mandatory and cannot be empty
+
+
+ AzureBackupVault.Name
+
+
+ AzureBackupVault.ResourceGroupName
+
+
+ RecoveryService - Backup Vault - Successfully serialized the file content
+
+
+ Reregistration can be enable only for machine containers.
+
+
+ Received CloudException, ErrorCode: {0}, Message: {1}
+
+
+ Received CloudException, StatusCode: {0}
+
+
+ Cmdlet called for ResourceGroupName: {0}, ResourceName: {1}, Location: {2}
+
+
+ Count of containers after resource group filter = {0}
+
+
+ Container count returned from service: {0}
+
+
+ Container is not discovered
+
+
+ Input is container Type = {0}
+
+
+ Creating backup vault with ResourceGroupName: {0}, ResourceName: {1}
+
+
+ Only one AzureBackupDailyRetentionPolicy in RetentionPolicies is allowed
+
+
+ For AzureBackupDailyRetentionPolicy , valid values of retention are {0} to {1}
+
+
+ For Daily Schedule, AzureBackupDailyRetentionPolicy in RetentionPolicies param is mandatory
+
+
+ Days of the month in Monthly/Yearly retention is not allowed for weekly backup Schedules
+
+
+ DaysofTheWeek list in Weekly retention schedule must be same of backup schedule DaysOfTheWeek
+
+
+ DaysOfTheWeek of retention schedule must be same of backup schedule DaysOfTheWeek
+
+
+ Desired Container is not found. Returning with isDiscoveryNeed = true
+
+
+ Received disable azure backup protection response
+
+
+ Failed to discover VM {0} under {1} {2}. Please make sure names are correct and VM is not deleted"
+
+
+ Discovery operation failed with ErrorCode: {0}
+
+
+ Received enable azure backup protection response
+
+
+ EndTime filter is: {0}
+
+
+ End time not set. Setting it to current time
+
+
+ Caught exception, type: {0}
+
+
+ Executing cmdlet with SubscriptionId = {0}, ResourceGroupName = {1}, ResourceName = {2}, TargetLocation = {3}
+
+
+ Fetched {0} containers
+
+
+ Initialized AzureBackup Cmdlet, ClientRequestId: {0}, ResourceGroupName: {1}, ResourceName : {2}
+
+
+ JobID is: {0}
+
+
+ JobID filter is: {0}
+
+
+ Successfully retrieved job
+
+
+ Successfully retrieved all jobs. Number of jobs retrieved: {0}
+
+
+ Making client call
+
+
+ For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Days, DaysOfMonth param is mandatory and can not be empty
+
+
+ For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed.
+
+
+ For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, DaysOfWeek param is mandatory and can not be empty
+
+
+ For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed
+
+
+ Only one AzureBackupMonthlyRetentionPolicy in RetentionPolicies is allowed
+
+
+ For AzureBackupMonthlyRetentionPolicy , valid values of retention are {0} to {1}
+
+
+ For AzureBackupMonthlyRetentionPolicy and RetentionFormat in Weeks, WeekNumber param is mandatory and can not be empty
+
+
+ Days of the week list in Monthly/Yearly retention schedule should be subset of Day of week list in Backup Schedule
+
+
+ No recovery point exist with Id := {0}
+
+
+ No recovery point found
+
+
+ Number of jobs to wait on: {0}
+
+
+ Operation filter is: {0}
+
+
+ OperationStatus : {0}
+
+
+ A protection policy with the specified name already exists.
+
+
+ For DaysOfWeek, weekly switch param is required
+
+
+ Protection Policy {0} not found
+
+
+ ParameterSetName = {0}
+
+
+ Protection Policy successfully updated
+
+
+ Protection Policy successfully updated and created job(s) to re-configure protection on associated items
+
+
+ Protection policy created successfully
+
+
+ Successfully deleted policy
+
+
+ The protection policy name should contain alphanumeric characters and cannot start with a number
+
+
+ The protection policy name must contain between 3 and 150 characters
+
+
+ Please make sure you have pass right set of parameters
+ d:\git2\azure-powershell\src\resourcemanager\azurebackup\commands.azurebackup\cmdlets\container\registerazurermbackupcontainer.cs
+
+
+ In loop querying jobs
+
+
+ No jobs to wait on. Quitting.
+
+
+ Registering ARM-V1 VM, VMName: {0}, CloudServiceName: {1}
+
+
+ Registering ARM-V2 VM, VMName: {0}, ResourceGroupName: {1}
+
+
+ Going to register VM {0}
+
+
+ Going to retry Discovery if retry count is not exceeded
+
The specified resource does not exist.
+
+ Atleast one retention policy in RetentionPolicies param is mandatory
+
+
+ Saving Vault Credentials to file : {0}
+
+
+ Setting end time to min value
+
+
+ Setting StartTime to min value
+
+
+ Setting storage type for the resource, Type: {0}
+
+
+ StartTime filter is: {0}
+
+
+ Status filter is: {0}
+
+
+ Stop Job failed with ErrorCode: {0}
+
+
+ From should be lesser than To
+
+
+ Exiting due to timeout.
+
+
+ Triggered cancellation of job with JobID: {0}
+
+
+ Triggered backup. Converting response {0}
+
+
+ Triggered Restore. Converting response {0}
+
+
+ Type filter is: {0}
+
+
+ Unknown item type
+
Unregister Server
This operation will delete all data in the backup vault that is associated with the server. Are you sure you want to unregister the server?
+
+ Unsupported WorkloadType
+
+
+ RecoveryService - Successfully uploaded the certificate
+
+
+ RecoveryService - Going to upload the certificate
+
+
+ The target location provided is not a directory. Please provide a directory.
+
+
+ VM {0} is not yet discovered. Triggering Discovery
+
+
+ Received WebException, Response: {0}, Status: {1}
+
+
+ For AzureBackupWeeklyRetentionPolicy , DaysOfWeek param is mandatory and can not be empty
+
+
+ Only one AzureBackupWeeklyRetentionPolicy in RetentionPolicies is allowed
+
+
+ For AzureBackupWeeklyRetentionPolicy , valid values of retention are {0} to {1}
+
+
+ For Weekly Schedule, AzureBackupWeeklyRetentionPolicy in RetentionPolicies param is mandatory
+
+
+ For weekly scheduletype , ScheduleRunDays param is mandatory and can not be empty.
+
+
+ For Weekly Schedule, AzureBackupDailyRetentionPolicy in RetentionPolicies param is not allowed
+
+
+ For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfMonth param is not allowed
+
+
+ For AzureBackupYearlyRetentionPolicy and RetentionFormat in Days, DaysOfMonth param is mandatory and can not be empty
+
+
+ For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, DaysOfWeek param is mandatory and can not be empty
+
+
+ For AzureBackupYearlyRetentionPolicy and RetentionFormat in Days, DaysOfWeek or WeekNumber params are not allowed
+
+
+ Only one AzureBackupYearlyRetentionPolicy in RetentionPolicies is allowed
+
+
+ For AzureBackupYearlyRetentionPolicy and RetentionFormat in days, MonthsOfYear param is mandatory and can not be empty
+
+
+ For AzureBackupYearlyRetentionPolicy , valid values of retention are {0} to {1}
+
+
+ For AzureBackupYearlyRetentionPolicy and RetentionFormat in Weeks, WeekNumber param is mandatory and can not be empty
+
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config
index c0253923472e..2d0042531dd2 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/BatchTestHelpers.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
similarity index 89%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
index 30339354eda7..46099a6a1074 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
@@ -67,9 +67,8 @@
..\..\..\packages\Microsoft.Azure.Management.Batch.1.4.0\lib\net40\Microsoft.Azure.Management.Batch.dll
-
- False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
False
@@ -117,10 +116,6 @@
False
..\..\..\packages\WindowsAzure.Storage.4.3.0\lib\net40\Microsoft.WindowsAzure.Storage.dll
-
- False
- ..\..\..\packages\Hydra.SpecTestSupport.1.0.5417.13285-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll
-
..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll
@@ -167,18 +162,28 @@
+
+
+
+
+
+
+
+
+
+
@@ -268,6 +273,18 @@
Always
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
Always
@@ -337,6 +354,9 @@
Always
+
+ Always
+
Always
@@ -358,6 +378,9 @@
Always
+
+ Always
+
Always
@@ -376,12 +399,36 @@
Always
+
+ Always
+
+
+ Always
+
Always
Always
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
+
+ Always
+
Always
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs
new file mode 100644
index 000000000000..7d17d9891e8e
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs
@@ -0,0 +1,120 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Common;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class ResetBatchComputeNodeCommandTests
+ {
+ private ResetBatchComputeNodeCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public ResetBatchComputeNodeCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new ResetBatchComputeNodeCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void ResetBatchComputeNodeParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.PoolId = "testPool";
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "computeNode1";
+
+ // Don't go to the service on a Reimage ComputeNode call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ ComputeNodeReimageResponse response = new ComputeNodeReimageResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void ResetComputeNodeRequestTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ cmdlet.PoolId = "testPool";
+ cmdlet.Id = "computeNode1";
+ cmdlet.ReimageOption = ComputeNodeReimageOption.Terminate;
+
+ ComputeNodeReimageOption? requestReimageOption = null;
+
+ // Don't go to the service on a Reimage ComputeNode call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ requestReimageOption = request.TypedParameters.ComputeNodeReimageOption;
+
+ ComputeNodeReimageResponse response = new ComputeNodeReimageResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ cmdlet.ExecuteCmdlet();
+
+ // Verify that the reimage option was properly set on the outgoing request
+ Assert.Equal(cmdlet.ReimageOption, requestReimageOption);
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs
new file mode 100644
index 000000000000..76a184a3588c
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs
@@ -0,0 +1,120 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Common;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class RestartBatchComputeNodeCommandTests
+ {
+ private RestartBatchComputeNodeCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public RestartBatchComputeNodeCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new RestartBatchComputeNodeCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void RestartBatchComputeNodeParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.PoolId = "testPool";
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "computeNode1";
+
+ // Don't go to the service on a Reboot ComputeNode call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ ComputeNodeRebootResponse response = new ComputeNodeRebootResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void RestartComputeNodeRequestTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ cmdlet.PoolId = "testPool";
+ cmdlet.Id = "computeNode1";
+ cmdlet.RebootOption = ComputeNodeRebootOption.Terminate;
+
+ ComputeNodeRebootOption? requestRebootOption = null;
+
+ // Don't go to the service on a Reboot ComputeNode call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ requestRebootOption = request.TypedParameters.ComputeNodeRebootOption;
+
+ ComputeNodeRebootResponse response = new ComputeNodeRebootResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ cmdlet.ExecuteCmdlet();
+
+ // Verify that the reboot option was properly set on the outgoing request
+ Assert.Equal(cmdlet.RebootOption, requestRebootOption);
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs
new file mode 100644
index 000000000000..88fac985d10a
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs
@@ -0,0 +1,79 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class DisableBatchJobScheduleCommandTests
+ {
+ private DisableBatchJobScheduleCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public DisableBatchJobScheduleCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new DisableBatchJobScheduleCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void DisableJobScheduleParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "testJobSchedule";
+
+ // Don't go to the service on a Disable CloudJobSchedule call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudJobScheduleDisableResponse response = new CloudJobScheduleDisableResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs
new file mode 100644
index 000000000000..f55c3ca3f056
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs
@@ -0,0 +1,79 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class EnableBatchJobScheduleCommandTests
+ {
+ private EnableBatchJobScheduleCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public EnableBatchJobScheduleCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new EnableBatchJobScheduleCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void EnableJobScheduleParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "testJobSchedule";
+
+ // Don't go to the service on an Enable CloudJobSchedule call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudJobScheduleEnableResponse response = new CloudJobScheduleEnableResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs
new file mode 100644
index 000000000000..963b508c228e
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs
@@ -0,0 +1,117 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Common;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class DisableBatchJobCommandTests
+ {
+ private DisableBatchJobCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public DisableBatchJobCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new DisableBatchJobCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void DisableJobParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "testJob";
+ cmdlet.DisableJobOption = DisableJobOption.Terminate;
+
+ // Don't go to the service on a Disable CloudJob call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudJobDisableResponse response = new CloudJobDisableResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void DisableJobRequestTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ DisableJobOption disableOption = DisableJobOption.Terminate;
+ DisableJobOption requestDisableOption = DisableJobOption.Requeue;
+
+ cmdlet.Id = "testJob";
+ cmdlet.DisableJobOption = disableOption;
+
+ // Don't go to the service on an Enable AutoScale call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ requestDisableOption = request.TypedParameters.DisableJobOption;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudJobDisableResponse response = new CloudJobDisableResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ cmdlet.ExecuteCmdlet();
+
+ // Verify that the job disable option was properly set on the outgoing request
+ Assert.Equal(disableOption, requestDisableOption);
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs
new file mode 100644
index 000000000000..be930f5f878b
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs
@@ -0,0 +1,79 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class EnableBatchJobCommandTests
+ {
+ private EnableBatchJobCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public EnableBatchJobCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new EnableBatchJobCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void EnableJobParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "testJob";
+
+ // Don't go to the service on an Enable CloudJob call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudJobEnableResponse response = new CloudJobEnableResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/MSSharedLibKey.snk b/src/ResourceManager/AzureBatch/Commands.Batch.Test/MSSharedLibKey.snk
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/MSSharedLibKey.snk
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/MSSharedLibKey.snk
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Models/BatchAccountContextTest.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Models/BatchAccountContextTest.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Models/BatchAccountContextTest.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Models/BatchAccountContextTest.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs
new file mode 100644
index 000000000000..54663a08cda4
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs
@@ -0,0 +1,79 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class DisableBatchAutoScaleCommandTests
+ {
+ private DisableBatchAutoScaleCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public DisableBatchAutoScaleCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new DisableBatchAutoScaleCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void DisableAutoScaleParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "testPool";
+
+ // Don't go to the service on an Disable AutoScale call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudPoolDisableAutoScaleResponse response = new CloudPoolDisableAutoScaleResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs
new file mode 100644
index 000000000000..68ee2e11da26
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs
@@ -0,0 +1,119 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class EnableBatchAutoScaleCommandTests
+ {
+ private EnableBatchAutoScaleCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public EnableBatchAutoScaleCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new EnableBatchAutoScaleCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void EnableAutoScaleParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "testPool";
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.AutoScaleFormula = "formula";
+
+ // Don't go to the service on an Enable AutoScale call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudPoolEnableAutoScaleResponse response = new CloudPoolEnableAutoScaleResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void EnableAutoScaleRequestTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ string formula = "$TargetDedicated=2";
+ string requestFormula = null;
+
+ cmdlet.Id = "testPool";
+ cmdlet.AutoScaleFormula = formula;
+
+ // Don't go to the service on an Enable AutoScale call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ requestFormula = request.TypedParameters.AutoScaleFormula;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudPoolEnableAutoScaleResponse response = new CloudPoolEnableAutoScaleResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ cmdlet.ExecuteCmdlet();
+
+ // Verify that the autoscale formula was properly set on the outgoing request
+ Assert.Equal(formula, requestFormula);
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Pools/NewBatchPoolCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/NewBatchPoolCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Pools/NewBatchPoolCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/NewBatchPoolCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/SetBatchPoolOSVersionCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/SetBatchPoolOSVersionCommandTests.cs
new file mode 100644
index 000000000000..99ce0b58efd3
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/SetBatchPoolOSVersionCommandTests.cs
@@ -0,0 +1,119 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class SetBatchPoolOSVersionCommandTests
+ {
+ private SetBatchPoolOSVersionCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public SetBatchPoolOSVersionCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new SetBatchPoolOSVersionCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void SetPoolOSVersionParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "testPool";
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.TargetOSVersion = "targetOS";
+
+ // Don't go to the service on an Upgrage OS call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudPoolUpgradeOSResponse response = new CloudPoolUpgradeOSResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void SetPoolOSVersionRequestTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ string targetOS = "targetOS";
+ string requestTargetOS = null;
+
+ cmdlet.Id = "testPool";
+ cmdlet.TargetOSVersion = targetOS;
+
+ // Don't go to the service on an Enable AutoScale call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ requestTargetOS = request.TypedParameters.TargetOSVersion;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudPoolUpgradeOSResponse response = new CloudPoolUpgradeOSResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ cmdlet.ExecuteCmdlet();
+
+ // Verify that the target OS was properly set on the outgoing request
+ Assert.Equal(targetOS, requestTargetOS);
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Pools/StartBatchPoolResizeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/StartBatchPoolResizeCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Pools/StartBatchPoolResizeCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/StartBatchPoolResizeCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Pools/StopBatchPoolResizeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/StopBatchPoolResizeCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Pools/StopBatchPoolResizeCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/StopBatchPoolResizeCommandTests.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/TestBatchAutoScaleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/TestBatchAutoScaleCommandTests.cs
new file mode 100644
index 000000000000..9a4adc20a634
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/TestBatchAutoScaleCommandTests.cs
@@ -0,0 +1,119 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Protocol;
+using Microsoft.Azure.Batch.Protocol.Models;
+using Microsoft.Azure.Commands.Batch.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Moq;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Threading.Tasks;
+using Xunit;
+using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
+
+namespace Microsoft.Azure.Commands.Batch.Test.Pools
+{
+ public class TestBatchAutoScaleCommandTests
+ {
+ private TestBatchAutoScaleCommand cmdlet;
+ private Mock batchClientMock;
+ private Mock commandRuntimeMock;
+
+ public TestBatchAutoScaleCommandTests()
+ {
+ batchClientMock = new Mock();
+ commandRuntimeMock = new Mock();
+ cmdlet = new TestBatchAutoScaleCommand()
+ {
+ CommandRuntime = commandRuntimeMock.Object,
+ BatchClient = batchClientMock.Object,
+ };
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestAutoScaleParametersTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+ cmdlet.Id = null;
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.Id = "testPool";
+
+ Assert.Throws(() => cmdlet.ExecuteCmdlet());
+
+ cmdlet.AutoScaleFormula = "formula";
+
+ // Don't go to the service on an Evaluate AutoScale call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudPoolEvaluateAutoScaleResponse response = new CloudPoolEvaluateAutoScaleResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ // Verify no exceptions when required parameter is set
+ cmdlet.ExecuteCmdlet();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestAutoScaleRequestTest()
+ {
+ BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys();
+ cmdlet.BatchContext = context;
+
+ string formula = "$TargetDedicated=2";
+ string requestFormula = null;
+
+ cmdlet.Id = "testPool";
+ cmdlet.AutoScaleFormula = formula;
+
+ // Don't go to the service on an Evaluate AutoScale call
+ RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
+ {
+ BatchRequest request =
+ (BatchRequest)baseRequest;
+
+ requestFormula = request.TypedParameters.AutoScaleFormula;
+
+ request.ServiceRequestFunc = (cancellationToken) =>
+ {
+ CloudPoolEvaluateAutoScaleResponse response = new CloudPoolEvaluateAutoScaleResponse();
+ Task task = Task.FromResult(response);
+ return task;
+ };
+ });
+ cmdlet.AdditionalBehaviors = new List() { interceptor };
+
+ cmdlet.ExecuteCmdlet();
+
+ // Verify that the autoscale formula was properly set on the outgoing request
+ Assert.Equal(formula, requestFormula);
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Properties/AssemblyInfo.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Properties/AssemblyInfo.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Properties/AssemblyInfo.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchController.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchController.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/Common.ps1
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/Common.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/Common.ps1
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs
similarity index 59%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs
index 51c28d77cd9d..37b2ac826a94 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.cs
@@ -103,6 +103,70 @@ public void TestListComputeNodePipeline()
TestUtilities.GetCallingClass(),
TestUtilities.GetCurrentMethodName());
}
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestRebootComputeNodeById()
+ {
+ TestRebootComputeNode(false);
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestRebootComputeNodePipeline()
+ {
+ TestRebootComputeNode(true);
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestReimageComputeNodeById()
+ {
+ TestReimageComputeNode(false);
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestReimageComputeNodePipeline()
+ {
+ TestReimageComputeNode(true);
+ }
+
+ private void TestRebootComputeNode(bool usePipeline)
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ string computeNodeId = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-RebootComputeNode '{0}' '{1}' '{2}' '{3}'", accountName, poolId, computeNodeId, usePipeline ? 1 : 0) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName);
+ computeNodeId = ScenarioTestHelpers.GetComputeNodeId(controller, context, poolId);
+ ScenarioTestHelpers.WaitForIdleComputeNode(controller, context, poolId, computeNodeId);
+ },
+ null,
+ TestUtilities.GetCallingClass(),
+ usePipeline ? "TestRebootComputeNodePipeline" : "TestRebootComputeNodeById");
+ }
+
+ private void TestReimageComputeNode(bool usePipeline)
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ string computeNodeId = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-ReimageComputeNode '{0}' '{1}' '{2}' '{3}'", accountName, poolId, computeNodeId, usePipeline ? 1 : 0) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName);
+ computeNodeId = ScenarioTestHelpers.GetComputeNodeId(controller, context, poolId);
+ ScenarioTestHelpers.WaitForIdleComputeNode(controller, context, poolId, computeNodeId);
+ },
+ null,
+ TestUtilities.GetCallingClass(),
+ usePipeline ? "TestReimageComputeNodePipeline" : "TestReimageComputeNodeById");
+ }
}
// Cmdlets that use the HTTP Recorder interceptor for use with scenario tests
@@ -115,4 +179,24 @@ public override void ExecuteCmdlet()
base.ExecuteCmdlet();
}
}
+
+ [Cmdlet(VerbsLifecycle.Restart, "AzureBatchComputeNode_ST", DefaultParameterSetName = Constants.IdParameterSet)]
+ public class RestartBatchComputeNodeScenarioTestCommand : RestartBatchComputeNodeCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
+
+ [Cmdlet(VerbsCommon.Reset, "AzureBatchComputeNode_ST", DefaultParameterSetName = Constants.IdParameterSet)]
+ public class ResetBatchComputeNodeScenarioTestCommand : ResetBatchComputeNodeCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1
similarity index 70%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1
index b958e463f5cd..34ead7348f91 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1
@@ -115,4 +115,56 @@ function Test-ListComputeNodePipeline
$computeNodes = Get-AzureBatchPool_ST -Id $poolId -BatchContext $context | Get-AzureBatchComputeNode_ST -BatchContext $context
Assert-AreEqual $count $computeNodes.Count
+}
+
+<#
+.SYNOPSIS
+Tests rebooting a compute node
+#>
+function Test-RebootComputeNode
+{
+ param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$usePipeline)
+
+ $context = Get-AzureBatchAccountKeys -Name $accountName
+
+ $rebootOption = ([Microsoft.Azure.Batch.Common.ComputeNodeRebootOption]::Terminate)
+
+ if ($usePipeline -eq '1')
+ {
+ Get-AzureBatchComputeNode_ST $poolId $computeNodeId -BatchContext $context | Restart-AzureBatchComputeNode_ST -RebootOption $rebootOption -BatchContext $context
+ }
+ else
+ {
+ Restart-AzureBatchComputeNode_ST $poolId $computeNodeId -RebootOption $rebootOption -BatchContext $context
+ }
+
+ $computeNode = Get-AzureBatchComputeNode_ST -PoolId $poolId -Filter "id eq '$computeNodeId'" -BatchContext $context
+
+ Assert-AreEqual 'Rebooting' $computeNode.State
+}
+
+<#
+.SYNOPSIS
+Tests reimaging a compute node
+#>
+function Test-ReimageComputeNode
+{
+ param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$usePipeline)
+
+ $context = Get-AzureBatchAccountKeys -Name $accountName
+
+ $reimageOption = ([Microsoft.Azure.Batch.Common.ComputeNodeReimageOption]::Terminate)
+
+ if ($usePipeline -eq '1')
+ {
+ Get-AzureBatchComputeNode_ST $poolId $computeNodeId -BatchContext $context | Reset-AzureBatchComputeNode_ST -ReimageOption $reimageOption -BatchContext $context
+ }
+ else
+ {
+ Reset-AzureBatchComputeNode_ST $poolId $computeNodeId -ReimageOption $reimageOption -BatchContext $context
+ }
+
+ $computeNode = Get-AzureBatchComputeNode_ST -PoolId $poolId -Filter "id eq '$computeNodeId'" -BatchContext $context
+
+ Assert-AreEqual 'Reimaging' $computeNode.State
}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/FileTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/FileTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/FileTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.ps1
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/FileTests.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.ps1
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs
similarity index 84%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs
index e0db254cad21..fbcc0ce43708 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs
@@ -183,6 +183,29 @@ public void TestDeleteJobSchedulePipeline()
TestUtilities.GetCallingClass(),
TestUtilities.GetCurrentMethodName());
}
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestDisableAndEnableJobSchedule()
+ {
+ BatchController controller = BatchController.NewInstance;
+ string jobScheduleId = "testDisableEnableJobSchedule";
+
+ BatchAccountContext context = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-DisableAndEnableJobSchedule '{0}' '{1}' '1'", accountName, jobScheduleId) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName);
+ ScenarioTestHelpers.CreateTestJobSchedule(controller, context, jobScheduleId, null);
+ },
+ () =>
+ {
+ ScenarioTestHelpers.DeleteJobSchedule(controller, context, jobScheduleId);
+ },
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
}
// Cmdlets that use the HTTP Recorder interceptor for use with scenario tests
@@ -215,4 +238,24 @@ public override void ExecuteCmdlet()
base.ExecuteCmdlet();
}
}
+
+ [Cmdlet(VerbsLifecycle.Enable, "AzureBatchJobSchedule_ST")]
+ public class EnableBatchJobScheduleScenarioTestCommand : EnableBatchJobScheduleCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
+
+ [Cmdlet(VerbsLifecycle.Disable, "AzureBatchJobSchedule_ST")]
+ public class DisableBatchJobScheduleScenarioTestCommand : DisableBatchJobScheduleCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1
similarity index 93%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1
index 4a9d75364c82..21e0947eb889 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1
@@ -354,4 +354,40 @@ function Test-DeleteJobSchedule
# Verify the job schedule was deleted
$jobSchedules = Get-AzureBatchJobSchedule_ST -BatchContext $context
Assert-True { $jobSchedules -eq $null -or $jobSchedules[0].State.ToString().ToLower() -eq 'deleting' }
+}
+
+<#
+.SYNOPSIS
+Tests disabling and enabling a job schedule
+#>
+function Test-DisableAndEnableJobSchedule
+{
+ param([string]$accountName, [string]$jobScheduleId)
+
+ $context = Get-AzureBatchAccountKeys -Name $accountName
+
+ # Verify the job schedule is Active
+ $jobSchedule = Get-AzureBatchJobSchedule_ST $jobScheduleId -BatchContext $context
+ Assert-AreEqual 'Active' $jobSchedule.State
+
+ Disable-AzureBatchJobSchedule_ST $jobScheduleId -BatchContext $context
+
+ # Verify the job schedule was Disabled
+ $jobSchedule = Get-AzureBatchJobSchedule_ST $jobScheduleId -BatchContext $context
+ Assert-AreEqual 'Disabled' $jobSchedule.State
+
+ Enable-AzureBatchJobSchedule_ST $jobScheduleId -BatchContext $context
+
+ # Verify the job schedule is again Active
+ $jobSchedule = Get-AzureBatchJobSchedule_ST -Filter "id eq '$jobScheduleId'" -BatchContext $context
+ Assert-AreEqual 'Active' $jobSchedule.State
+
+ # Verify using the pipeline
+ $jobSchedule | Disable-AzureBatchJobSchedule_ST -BatchContext $context
+ $jobSchedule = Get-AzureBatchJobSchedule_ST $jobScheduleId -BatchContext $context
+ Assert-AreEqual 'Disabled' $jobSchedule.State
+
+ $jobSchedule | Enable-AzureBatchJobSchedule_ST -BatchContext $context
+ $jobSchedule = Get-AzureBatchJobSchedule_ST -Filter "id eq '$jobScheduleId'" -BatchContext $context
+ Assert-AreEqual 'Active' $jobSchedule.State
}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.cs
similarity index 87%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.cs
index df8b6eaa7331..a273df84216a 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.cs
@@ -220,6 +220,29 @@ public void TestDeleteJobPipeline()
TestUtilities.GetCallingClass(),
TestUtilities.GetCurrentMethodName());
}
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestDisableAndEnableJob()
+ {
+ BatchController controller = BatchController.NewInstance;
+ string jobId = "testDisableEnableJob";
+
+ BatchAccountContext context = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-DisableAndEnableJob '{0}' '{1}' '1'", accountName, jobId) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, accountName);
+ ScenarioTestHelpers.CreateTestJob(controller, context, jobId);
+ },
+ () =>
+ {
+ ScenarioTestHelpers.DeleteJob(controller, context, jobId);
+ },
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
}
// Cmdlets that use the HTTP Recorder interceptor for use with scenario tests
@@ -252,4 +275,24 @@ public override void ExecuteCmdlet()
base.ExecuteCmdlet();
}
}
+
+ [Cmdlet(VerbsLifecycle.Enable, "AzureBatchJob_ST")]
+ public class EnableBatchJobScenarioTestCommand : EnableBatchJobCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
+
+ [Cmdlet(VerbsLifecycle.Disable, "AzureBatchJob_ST")]
+ public class DisableBatchJobScenarioTestCommand : DisableBatchJobCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1
similarity index 93%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1
index 585b0231df5c..cba2f55693c4 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.ps1
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1
@@ -351,4 +351,40 @@ function Test-DeleteJob
# Verify the job was deleted
$jobs = Get-AzureBatchJob_ST -BatchContext $context
Assert-True { $jobs -eq $null -or $jobs[0].State.ToString().ToLower() -eq 'deleting' }
+}
+
+<#
+.SYNOPSIS
+Tests disabling and enabling a job
+#>
+function Test-DisableAndEnableJob
+{
+ param([string]$accountName, [string]$jobId)
+
+ $context = Get-AzureBatchAccountKeys -Name $accountName
+
+ # Verify the job is Active
+ $job = Get-AzureBatchJob_ST $jobId -BatchContext $context
+ Assert-AreEqual 'Active' $job.State
+
+ Disable-AzureBatchJob_ST $jobId Terminate -BatchContext $context
+
+ # Verify the job was Disabled
+ $job = Get-AzureBatchJob_ST $jobId -BatchContext $context
+ Assert-AreEqual 'Disabled' $job.State
+
+ Enable-AzureBatchJob_ST $jobId -BatchContext $context
+
+ # Verify the job is again active
+ $job = Get-AzureBatchJob_ST -Filter "id eq '$jobId'" -BatchContext $context
+ Assert-AreEqual 'Active' $job.State
+
+ # Verify using the pipeline
+ $job | Disable-AzureBatchJob_ST -DisableJobOption Terminate -BatchContext $context
+ $job = Get-AzureBatchJob_ST $jobId -BatchContext $context
+ Assert-AreEqual 'Disabled' $job.State
+
+ $job | Enable-AzureBatchJob_ST -BatchContext $context
+ $job = Get-AzureBatchJob_ST -Filter "id eq '$jobId'" -BatchContext $context
+ Assert-AreEqual 'Active' $job.State
}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.cs
similarity index 61%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.cs
index c6cff37c5b22..6f5d5769f890 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.cs
@@ -260,6 +260,164 @@ public void TestStopResizePoolByPipeline()
TestUtilities.GetCallingClass(),
TestUtilities.GetCurrentMethodName());
}
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestEnableAutoScaleById()
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-EnableAutoScale '{0}' '{1}' '0'", commonAccountName, testPoolId) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName);
+ ScenarioTestHelpers.DisableAutoScale(controller, context, testPoolId);
+ ScenarioTestHelpers.WaitForSteadyPoolAllocation(controller, context, testPoolId);
+ },
+ () =>
+ {
+ ScenarioTestHelpers.DisableAutoScale(controller, context, testPoolId);
+ },
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestEnableAutoScaleByPipeline()
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-EnableAutoScale '{0}' '{1}' '1'", commonAccountName, testPoolId) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName);
+ ScenarioTestHelpers.DisableAutoScale(controller, context, testPoolId);
+ ScenarioTestHelpers.WaitForSteadyPoolAllocation(controller, context, testPoolId);
+ },
+ () =>
+ {
+ ScenarioTestHelpers.DisableAutoScale(controller, context, testPoolId);
+ },
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestDisableAutoScaleById()
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-DisableAutoScale '{0}' '{1}' '0'", commonAccountName, testPoolId) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName);
+ ScenarioTestHelpers.EnableAutoScale(controller, context, testPoolId);
+ ScenarioTestHelpers.WaitForSteadyPoolAllocation(controller, context, testPoolId);
+ },
+ null,
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestDisableAutoScaleByPipeline()
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-DisableAutoScale '{0}' '{1}' '1'", commonAccountName, testPoolId) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName);
+ ScenarioTestHelpers.EnableAutoScale(controller, context, testPoolId);
+ ScenarioTestHelpers.WaitForSteadyPoolAllocation(controller, context, testPoolId);
+ },
+ null,
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestEvaluateAutoScaleById()
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-EvaluateAutoScale '{0}' '{1}' '0'", commonAccountName, testPoolId) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName);
+ ScenarioTestHelpers.EnableAutoScale(controller, context, testPoolId);
+ ScenarioTestHelpers.WaitForSteadyPoolAllocation(controller, context, testPoolId);
+ },
+ () =>
+ {
+ ScenarioTestHelpers.DisableAutoScale(controller, context, testPoolId);
+ },
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestEvaluateAutoScaleByPipeline()
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-EvaluateAutoScale '{0}' '{1}' '1'", commonAccountName, testPoolId) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName);
+ ScenarioTestHelpers.EnableAutoScale(controller, context, testPoolId);
+ ScenarioTestHelpers.WaitForSteadyPoolAllocation(controller, context, testPoolId);
+ },
+ () =>
+ {
+ ScenarioTestHelpers.DisableAutoScale(controller, context, testPoolId);
+ },
+ TestUtilities.GetCallingClass(),
+ TestUtilities.GetCurrentMethodName());
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestChangeOSVersionById()
+ {
+ TestChangeOSVersion(false);
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestChangeOSVersionPipeline()
+ {
+ TestChangeOSVersion(true);
+ }
+
+ private void TestChangeOSVersion(bool usePipeline)
+ {
+ BatchController controller = BatchController.NewInstance;
+ BatchAccountContext context = null;
+ string newTargetOSVersion = null;
+ controller.RunPsTestWorkflow(
+ () => { return new string[] { string.Format("Test-ChangeOSVersion '{0}' '{1}' '{2}' '{3}'", commonAccountName, testPoolId, newTargetOSVersion, usePipeline ? 1 : 0) }; },
+ () =>
+ {
+ context = ScenarioTestHelpers.GetBatchAccountContextWithKeys(controller, commonAccountName);
+ string currentTargetOSVersion = ScenarioTestHelpers.WaitForOSVersionChange(controller, context, testPoolId);
+ newTargetOSVersion = currentTargetOSVersion == "*" ? "WA-GUEST-OS-4.20_201505-01" : "*";
+ },
+ null,
+ TestUtilities.GetCallingClass(),
+ usePipeline ? "TestChangeOSVersionPipeline" : "TestChangeOSVersionById");
+ }
}
// Cmdlets that use the HTTP Recorder interceptor for use with scenario tests
@@ -312,4 +470,44 @@ public override void ExecuteCmdlet()
base.ExecuteCmdlet();
}
}
+
+ [Cmdlet(VerbsLifecycle.Enable, "AzureBatchAutoScale_ST")]
+ public class EnableBatchAutoScaleScenarioTestCommand : EnableBatchAutoScaleCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
+
+ [Cmdlet(VerbsLifecycle.Disable, "AzureBatchAutoScale_ST")]
+ public class DisableBatchAutoScaleScenarioTestCommand : DisableBatchAutoScaleCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
+
+ [Cmdlet(VerbsDiagnostic.Test, "AzureBatchAutoScale_ST")]
+ public class TestBatchAutoScaleScenarioTestCommand : TestBatchAutoScaleCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
+
+ [Cmdlet(VerbsCommon.Set, "AzureBatchPoolOSVersion_ST")]
+ public class SetBatchPoolOSVersionScenarioTestCommand : SetBatchPoolOSVersionCommand
+ {
+ public override void ExecuteCmdlet()
+ {
+ AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() };
+ base.ExecuteCmdlet();
+ }
+ }
}
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1
similarity index 74%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1
index b544fe8ee258..2d1d35ca8e68 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1
@@ -282,4 +282,120 @@ function Test-StopResizePoolByPipeline
# Verify the AllocationState changed to Stopping
$pool = Get-AzureBatchPool_ST -Id $poolId -BatchContext $context
Assert-AreEqual 'Stopping' $pool.AllocationState
+}
+
+<#
+.SYNOPSIS
+Tests enabling autoscale
+#>
+function Test-EnableAutoScale
+{
+ param([string]$accountName, [string]$poolId, [string]$usePipeline)
+
+ $context = Get-AzureBatchAccountKeys $accountName
+
+ $formula = '$TargetDedicated=2'
+
+ # Verify pool starts with autoscale disabled
+ $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context
+ Assert-False { $pool.AutoScaleEnabled }
+
+ if ($usePipeline -eq '1')
+ {
+ Get-AzureBatchPool_ST -Id $poolId -BatchContext $context | Enable-AzureBatchAutoScale_ST -AutoScaleFormula $formula -BatchContext $context
+ }
+ else
+ {
+ Enable-AzureBatchAutoScale_ST $poolId $formula -BatchContext $context
+ }
+
+ # Verify that autoscale was enabled.
+ # Use a filter because it seems that the recorder sometimes gets confused when two identical URLs are sent too close together
+ $pool = Get-AzureBatchPool_ST -Filter "id eq '$poolId'" -BatchContext $context
+ Assert-True { $pool.AutoScaleEnabled }
+}
+
+<#
+.SYNOPSIS
+Tests disabling autoscale
+#>
+function Test-DisableAutoScale
+{
+ param([string]$accountName, [string]$poolId, [string]$usePipeline)
+
+ $context = Get-AzureBatchAccountKeys $accountName
+
+ # Verify pool starts with autoscale enabled
+ $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context
+ Assert-True { $pool.AutoScaleEnabled }
+
+ if ($usePipeline -eq '1')
+ {
+ Get-AzureBatchPool_ST -Id $poolId -BatchContext $context | Disable-AzureBatchAutoScale_ST -BatchContext $context
+ }
+ else
+ {
+ Disable-AzureBatchAutoScale_ST $poolId -BatchContext $context
+ }
+
+ # Verify that autoscale was disabled
+ # Use a filter because it seems that the recorder sometimes gets confused when two identical URLs are sent too close together
+ $pool = Get-AzureBatchPool_ST -Filter "id eq '$poolId'" -BatchContext $context
+ Assert-False { $pool.AutoScaleEnabled }
+}
+
+<#
+.SYNOPSIS
+Tests evaluating an autoscale formula
+#>
+function Test-EvaluateAutoScale
+{
+ param([string]$accountName, [string]$poolId, [string]$usePipeline)
+
+ $context = Get-AzureBatchAccountKeys $accountName
+
+ $formula = '$TargetDedicated=2'
+
+ # Verify pool starts with autoscale enabled
+ $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context
+ Assert-True { $pool.AutoScaleEnabled }
+
+ if ($usePipeline -eq '1')
+ {
+ $evalResult = Get-AzureBatchPool_ST -Id $poolId -BatchContext $context | Test-AzureBatchAutoScale_ST -AutoScaleFormula $formula -BatchContext $context
+ }
+ else
+ {
+ $evalResult = Test-AzureBatchAutoScale_ST $poolId $formula -BatchContext $context
+ }
+
+ # Verify that the evaluation result matches expectation
+ Assert-True { $evalResult.AutoScaleRun.Results.Contains($formula) }
+}
+
+<#
+.SYNOPSIS
+Tests changing the pool OS version
+#>
+function Test-ChangeOSVersion
+{
+ param([string]$accountName, [string]$poolId, [string]$targetOSVersion, [string]$usePipeline)
+
+ $context = Get-AzureBatchAccountKeys $accountName
+
+ # Verify that we start with a different target OS
+ $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context
+ Assert-AreNotEqual $targetOSVersion $pool.TargetOSVersion
+
+ if ($usePipeline -eq '1')
+ {
+ Get-AzureBatchPool_ST -Filter "id eq '$poolId'" -BatchContext $context | Set-AzureBatchPoolOSVersion_ST -TargetOSVersion $targetOSVersion -BatchContext $context
+ }
+ else
+ {
+ Set-AzureBatchPoolOSVersion_ST $poolId $targetOSVersion -BatchContext $context
+ }
+
+ $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context
+ Assert-AreEqual $targetOSVersion $pool.TargetOSVersion
}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs
similarity index 84%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs
index f789b50f649a..6637f00829fe 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs
@@ -112,6 +112,53 @@ public static void CreateTestPool(BatchController controller, BatchAccountContex
client.CreatePool(parameters);
}
+ public static void EnableAutoScale(BatchController controller, BatchAccountContext context, string poolId)
+ {
+ RequestInterceptor interceptor = CreateHttpRecordingInterceptor();
+ BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor };
+ BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient);
+
+ string formula = "$TargetDedicated=2";
+ AutoScaleParameters parameters = new AutoScaleParameters(context, poolId, null, formula, behaviors);
+ client.EnableAutoScale(parameters);
+ }
+
+ public static void DisableAutoScale(BatchController controller, BatchAccountContext context, string poolId)
+ {
+ RequestInterceptor interceptor = CreateHttpRecordingInterceptor();
+ BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor };
+ BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient);
+
+ PoolOperationParameters parameters = new PoolOperationParameters(context, poolId, null, behaviors);
+ client.DisableAutoScale(parameters);
+ }
+
+ public static string WaitForOSVersionChange(BatchController controller, BatchAccountContext context, string poolId)
+ {
+ RequestInterceptor interceptor = CreateHttpRecordingInterceptor();
+ BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor };
+ BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient);
+
+ ListPoolOptions options = new ListPoolOptions(context, behaviors)
+ {
+ PoolId = poolId
+ };
+
+ DateTime timeout = DateTime.Now.AddMinutes(2);
+ PSCloudPool pool = client.ListPools(options).First();
+ while (pool.CurrentOSVersion != pool.TargetOSVersion)
+ {
+ if (DateTime.Now > timeout)
+ {
+ throw new TimeoutException("Timed out waiting for active state pool");
+ }
+ Sleep(5000);
+ pool = client.ListPools(options).First();
+ }
+
+ return pool.TargetOSVersion;
+ }
+
public static void WaitForSteadyPoolAllocation(BatchController controller, BatchAccountContext context, string poolId)
{
RequestInterceptor interceptor = CreateHttpRecordingInterceptor();
@@ -350,6 +397,34 @@ public static string GetComputeNodeId(BatchController controller, BatchAccountCo
return client.ListComputeNodes(options).First().Id;
}
+ ///
+ /// Waits for a compute node to get to the idle state
+ ///
+ public static void WaitForIdleComputeNode(BatchController controller, BatchAccountContext context, string poolId, string computeNodeId)
+ {
+ RequestInterceptor interceptor = CreateHttpRecordingInterceptor();
+ BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor };
+ BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient);
+
+ ListComputeNodeOptions options = new ListComputeNodeOptions(context, poolId, null, behaviors)
+ {
+ ComputeNodeId = computeNodeId
+ };
+
+ DateTime timeout = DateTime.Now.AddMinutes(2);
+ PSComputeNode computeNode = client.ListComputeNodes(options).First();
+ if (computeNode.State != ComputeNodeState.Idle)
+ {
+ if (DateTime.Now > timeout)
+ {
+ throw new TimeoutException("Timed out waiting for idle compute node");
+ }
+
+ Sleep(5000);
+ computeNode = client.ListComputeNodes(options).First();
+ }
+ }
+
///
/// Creates a test user for use in Scenario tests.
///
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestBatchAccountKeys.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateAndRemoveBatchAccountViaPiping.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreateExistingBatchAccount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestCreatesNewBatchAccount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetBatchAccountsUnderResourceGroups.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestGetNonExistingBatchAccount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.BatchAccountTests/TestUpdatesExistingBatchAccount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestGetComputeNodeById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestGetComputeNodeById.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestGetComputeNodeById.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestGetComputeNodeById.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListAllComputeNodes.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListAllComputeNodes.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListAllComputeNodes.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListAllComputeNodes.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodePipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodePipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodePipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodePipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodesByFilter.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodesByFilter.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodesByFilter.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodesByFilter.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodesWithMaxCount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodesWithMaxCount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodesWithMaxCount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestListComputeNodesWithMaxCount.json
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestRebootComputeNodeById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestRebootComputeNodeById.json
new file mode 100644
index 000000000000..087af81c1bf0
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestRebootComputeNodeById.json
@@ -0,0 +1,644 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "e61f84ee-640e-45e7-8632-7339a89c343f"
+ ],
+ "x-ms-correlation-request-id": [
+ "e61f84ee-640e-45e7-8632-7339a89c343f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T164457Z:e61f84ee-640e-45e7-8632-7339a89c343f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:56 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-request-id": [
+ "80de9332-30b2-4211-9625-0dfb7227720d"
+ ],
+ "x-ms-correlation-request-id": [
+ "80de9332-30b2-4211-9625-0dfb7227720d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T164459Z:80de9332-30b2-4211-9625-0dfb7227720d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Mon, 17 Aug 2015 16:44:57 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "781e4353-c489-40f3-bd97-c246fc0effed"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "2fc7fb4d-d0ff-4fe1-b6da-1251afdad7b5"
+ ],
+ "x-ms-correlation-request-id": [
+ "2fc7fb4d-d0ff-4fe1-b6da-1251afdad7b5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T164458Z:2fc7fb4d-d0ff-4fe1-b6da-1251afdad7b5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:57 GMT"
+ ],
+ "ETag": [
+ "0x8D2A7232FAECE7A"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "87ce9618-b76e-4306-87e1-b78039154f5b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-request-id": [
+ "aab98827-26d7-4bc8-9af0-6bdb53adae3f"
+ ],
+ "x-ms-correlation-request-id": [
+ "aab98827-26d7-4bc8-9af0-6bdb53adae3f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T164500Z:aab98827-26d7-4bc8-9af0-6bdb53adae3f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ],
+ "ETag": [
+ "0x8D2A7233090EBCA"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "a0dfc0a3-110c-4bc3-b69d-445c2d3778e3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "edf499c2-6835-4405-9006-6ab934a5f755"
+ ],
+ "x-ms-correlation-request-id": [
+ "edf499c2-6835-4405-9006-6ab934a5f755"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T164458Z:edf499c2-6835-4405-9006-6ab934a5f755"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:58 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "a3ebe236-e97b-49ce-abaf-8d058f49fcad"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "1e7db45f-e6ca-4b07-a849-ddc4daf1f04d"
+ ],
+ "x-ms-correlation-request-id": [
+ "1e7db45f-e6ca-4b07-a849-ddc4daf1f04d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T164500Z:1e7db45f-e6ca-4b07-a849-ddc4daf1f04d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d34bb408-6545-4eaa-b051-18f5dbaa44fb"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:44:58 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T23:35:48.6804172Z\",\r\n \"lastBootTime\": \"2015-08-13T23:35:48.5094158Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T23:35:48.9114181Z\",\r\n \"endTime\": \"2015-08-13T23:35:50.3974279Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-3257026573_2-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_2-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T20:27:45.9148103Z\",\r\n \"lastBootTime\": \"2015-08-13T20:27:45.8127934Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.74.139\",\r\n \"affinityId\": \"TVM:tvm-3257026573_2-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T20:27:45.949802Z\",\r\n \"endTime\": \"2015-08-13T20:27:47.5898996Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-3257026573_3-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_3-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T20:32:52.3245045Z\",\r\n \"lastBootTime\": \"2015-08-13T20:32:52.0585047Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.118.157\",\r\n \"affinityId\": \"TVM:tvm-3257026573_3-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T20:32:52.4725155Z\",\r\n \"endTime\": \"2015-08-13T20:32:54.0355045Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c072185a-4144-4318-9c27-0a477c5a8147"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d34bb408-6545-4eaa-b051-18f5dbaa44fb"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f42017f3-0c18-47f4-810a-adaa90272780"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T23:35:48.6804172Z\",\r\n \"lastBootTime\": \"2015-08-13T23:35:48.5094158Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T23:35:48.9114181Z\",\r\n \"endTime\": \"2015-08-13T23:35:50.3974279Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "00ec0240-c179-4452-b9b3-594d54530c5d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f42017f3-0c18-47f4-810a-adaa90272780"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f42017f3-0c18-47f4-810a-adaa90272780"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T23:35:48.6804172Z\",\r\n \"lastBootTime\": \"2015-08-13T23:35:48.5094158Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T23:35:48.9114181Z\",\r\n \"endTime\": \"2015-08-13T23:35:50.3974279Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "00ec0240-c179-4452-b9b3-594d54530c5d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f42017f3-0c18-47f4-810a-adaa90272780"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:44:59 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?reboot&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9yZWJvb3QmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"nodeRebootOption\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "39"
+ ],
+ "client-request-id": [
+ "896c8db6-4114-4cbb-8514-591e2b801de0"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:45:00 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "7e159877-d5a8-46cf-a981-de65942e7251"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "896c8db6-4114-4cbb-8514-591e2b801de0"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:45:01 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ac85c5e-dd51-4b62-8315-56d7a69aafd4"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:45:01 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"rebooting\",\r\n \"stateTransitionTime\": \"2015-08-17T16:45:01.1518559Z\",\r\n \"lastBootTime\": \"2015-08-13T23:35:48.5094158Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T23:35:48.9114181Z\",\r\n \"endTime\": \"2015-08-13T23:35:50.3974279Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "858a1fce-596a-4867-99a1-39a1e8eb1421"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ac85c5e-dd51-4b62-8315-56d7a69aafd4"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:45:01 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ac85c5e-dd51-4b62-8315-56d7a69aafd4"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:45:01 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"rebooting\",\r\n \"stateTransitionTime\": \"2015-08-17T16:45:01.1518559Z\",\r\n \"lastBootTime\": \"2015-08-13T23:35:48.5094158Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T23:35:48.9114181Z\",\r\n \"endTime\": \"2015-08-13T23:35:50.3974279Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "858a1fce-596a-4867-99a1-39a1e8eb1421"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ac85c5e-dd51-4b62-8315-56d7a69aafd4"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:45:01 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestRebootComputeNodePipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestRebootComputeNodePipeline.json
new file mode 100644
index 000000000000..62f5b7a85ba5
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestRebootComputeNodePipeline.json
@@ -0,0 +1,797 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "04fdf80a-7a44-4bcb-a202-fc02450afab1"
+ ],
+ "x-ms-correlation-request-id": [
+ "04fdf80a-7a44-4bcb-a202-fc02450afab1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T165233Z:04fdf80a-7a44-4bcb-a202-fc02450afab1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:33 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-request-id": [
+ "0e2a9b05-ac34-4556-a6cd-1abc7d3747e2"
+ ],
+ "x-ms-correlation-request-id": [
+ "0e2a9b05-ac34-4556-a6cd-1abc7d3747e2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T165236Z:0e2a9b05-ac34-4556-a6cd-1abc7d3747e2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:35 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Mon, 17 Aug 2015 16:52:34 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "8a4e714a-8073-4f35-9399-424c7ec2f8ab"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "92b0e425-5701-4873-ad3b-d190d3598bd5"
+ ],
+ "x-ms-correlation-request-id": [
+ "92b0e425-5701-4873-ad3b-d190d3598bd5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T165235Z:92b0e425-5701-4873-ad3b-d190d3598bd5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:34 GMT"
+ ],
+ "ETag": [
+ "0x8D2A7244011792D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Mon, 17 Aug 2015 16:52:36 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "a2042c08-35df-4f66-aba6-36debfe39889"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14998"
+ ],
+ "x-ms-request-id": [
+ "9a992cc4-02f5-4090-8d6f-39e256f23715"
+ ],
+ "x-ms-correlation-request-id": [
+ "9a992cc4-02f5-4090-8d6f-39e256f23715"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T165236Z:9a992cc4-02f5-4090-8d6f-39e256f23715"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:36 GMT"
+ ],
+ "ETag": [
+ "0x8D2A72440D588D6"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "7f478b0f-aad0-4acb-b253-040262b870bf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "c3f86bcb-6809-4b78-9293-e08f80490732"
+ ],
+ "x-ms-correlation-request-id": [
+ "c3f86bcb-6809-4b78-9293-e08f80490732"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T165235Z:c3f86bcb-6809-4b78-9293-e08f80490732"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:34 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "97bd5103-930b-49ae-841d-698344d3beb9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "edffb3d9-bc39-4c01-b4e7-d7a3f86c6e47"
+ ],
+ "x-ms-correlation-request-id": [
+ "edffb3d9-bc39-4c01-b4e7-d7a3f86c6e47"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T165236Z:edffb3d9-bc39-4c01-b4e7-d7a3f86c6e47"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:36 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "bcc234e7-c24a-4459-96ff-d38210894671"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T16:47:07.7129021Z\",\r\n \"lastBootTime\": \"2015-08-17T16:47:07.6079015Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:47:07.7799021Z\",\r\n \"endTime\": \"2015-08-17T16:47:09.1159107Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-3257026573_2-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_2-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T20:27:45.9148103Z\",\r\n \"lastBootTime\": \"2015-08-13T20:27:45.8127934Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.74.139\",\r\n \"affinityId\": \"TVM:tvm-3257026573_2-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T20:27:45.949802Z\",\r\n \"endTime\": \"2015-08-13T20:27:47.5898996Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-3257026573_3-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_3-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T20:32:52.3245045Z\",\r\n \"lastBootTime\": \"2015-08-13T20:32:52.0585047Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.118.157\",\r\n \"affinityId\": \"TVM:tvm-3257026573_3-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T20:32:52.4725155Z\",\r\n \"endTime\": \"2015-08-13T20:32:54.0355045Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "59fc3f57-2f8b-402c-afd9-650d9181d881"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "bcc234e7-c24a-4459-96ff-d38210894671"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:35 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7b03f8fe-8c10-40bc-aeac-aff07b6bc195"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T16:47:07.7129021Z\",\r\n \"lastBootTime\": \"2015-08-17T16:47:07.6079015Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:47:07.7799021Z\",\r\n \"endTime\": \"2015-08-17T16:47:09.1159107Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d0fb0afb-6d0c-4b9a-8afd-37f32dcc8715"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7b03f8fe-8c10-40bc-aeac-aff07b6bc195"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:35 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7b03f8fe-8c10-40bc-aeac-aff07b6bc195"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T16:47:07.7129021Z\",\r\n \"lastBootTime\": \"2015-08-17T16:47:07.6079015Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:47:07.7799021Z\",\r\n \"endTime\": \"2015-08-17T16:47:09.1159107Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d0fb0afb-6d0c-4b9a-8afd-37f32dcc8715"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7b03f8fe-8c10-40bc-aeac-aff07b6bc195"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:35 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "dd8a8067-679e-4cab-8f63-8961770181f6"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:36 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T16:47:07.7129021Z\",\r\n \"lastBootTime\": \"2015-08-17T16:47:07.6079015Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:47:07.7799021Z\",\r\n \"endTime\": \"2015-08-17T16:47:09.1159107Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "89f598b8-08ad-484d-88e0-e16241241109"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "dd8a8067-679e-4cab-8f63-8961770181f6"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?reboot&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9yZWJvb3QmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"nodeRebootOption\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "39"
+ ],
+ "client-request-id": [
+ "331c94d4-93dc-470b-8785-4b0af0585376"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:36 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "1cdacfdd-28c9-430f-9fa3-673e83e9d475"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "331c94d4-93dc-470b-8785-4b0af0585376"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?reboot&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9yZWJvb3QmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"nodeRebootOption\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "39"
+ ],
+ "client-request-id": [
+ "331c94d4-93dc-470b-8785-4b0af0585376"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:36 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "1cdacfdd-28c9-430f-9fa3-673e83e9d475"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "331c94d4-93dc-470b-8785-4b0af0585376"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "33e769c1-a254-49d1-9a22-503ac259a8e9"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"rebooting\",\r\n \"stateTransitionTime\": \"2015-08-17T16:52:36.8643332Z\",\r\n \"lastBootTime\": \"2015-08-17T16:47:07.6079015Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:47:07.7799021Z\",\r\n \"endTime\": \"2015-08-17T16:47:09.1159107Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "72d9184b-eacb-4a6c-b932-93c5d1d6a3f1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "33e769c1-a254-49d1-9a22-503ac259a8e9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "33e769c1-a254-49d1-9a22-503ac259a8e9"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"rebooting\",\r\n \"stateTransitionTime\": \"2015-08-17T16:52:36.8643332Z\",\r\n \"lastBootTime\": \"2015-08-17T16:47:07.6079015Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:47:07.7799021Z\",\r\n \"endTime\": \"2015-08-17T16:47:09.1159107Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "72d9184b-eacb-4a6c-b932-93c5d1d6a3f1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "33e769c1-a254-49d1-9a22-503ac259a8e9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "33e769c1-a254-49d1-9a22-503ac259a8e9"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"rebooting\",\r\n \"stateTransitionTime\": \"2015-08-17T16:52:36.8643332Z\",\r\n \"lastBootTime\": \"2015-08-17T16:47:07.6079015Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:47:07.7799021Z\",\r\n \"endTime\": \"2015-08-17T16:47:09.1159107Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "72d9184b-eacb-4a6c-b932-93c5d1d6a3f1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "33e769c1-a254-49d1-9a22-503ac259a8e9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 16:52:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestReimageComputeNodeById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestReimageComputeNodeById.json
new file mode 100644
index 000000000000..5638040c1552
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestReimageComputeNodeById.json
@@ -0,0 +1,644 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-request-id": [
+ "bc22b32e-33ce-4331-848d-1c523bdbfb9b"
+ ],
+ "x-ms-correlation-request-id": [
+ "bc22b32e-33ce-4331-848d-1c523bdbfb9b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T170423Z:bc22b32e-33ce-4331-848d-1c523bdbfb9b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:23 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-request-id": [
+ "7c60e61b-e41d-4781-96d3-0c993442292a"
+ ],
+ "x-ms-correlation-request-id": [
+ "7c60e61b-e41d-4781-96d3-0c993442292a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T170426Z:7c60e61b-e41d-4781-96d3-0c993442292a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:26 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Mon, 17 Aug 2015 17:04:26 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "d0ed0d57-a630-471e-8b9d-293e63465c8c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-request-id": [
+ "30be6536-ad3d-4c28-8de1-b5a07ae082b6"
+ ],
+ "x-ms-correlation-request-id": [
+ "30be6536-ad3d-4c28-8de1-b5a07ae082b6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T170425Z:30be6536-ad3d-4c28-8de1-b5a07ae082b6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:24 GMT"
+ ],
+ "ETag": [
+ "0x8D2A725E82D6641"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Mon, 17 Aug 2015 17:04:27 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "34466208-43b6-4c32-aac1-bd6cd1662eea"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-request-id": [
+ "f6abc03f-78a9-4ee9-b8d7-f6a889245264"
+ ],
+ "x-ms-correlation-request-id": [
+ "f6abc03f-78a9-4ee9-b8d7-f6a889245264"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T170426Z:f6abc03f-78a9-4ee9-b8d7-f6a889245264"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:25 GMT"
+ ],
+ "ETag": [
+ "0x8D2A725E9154C5D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "3fbafa55-de30-423f-9da7-0506c67e64e2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "e6d89999-b299-408d-a288-734c32fee260"
+ ],
+ "x-ms-correlation-request-id": [
+ "e6d89999-b299-408d-a288-734c32fee260"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T170425Z:e6d89999-b299-408d-a288-734c32fee260"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:24 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "4986ebc0-887d-4a5c-9c1b-5fa390341843"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "66715d49-7ebc-472f-85a1-6a0c9961c8f3"
+ ],
+ "x-ms-correlation-request-id": [
+ "66715d49-7ebc-472f-85a1-6a0c9961c8f3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T170426Z:66715d49-7ebc-472f-85a1-6a0c9961c8f3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:25 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "9aa45970-34fa-4b61-b3cb-e741e0af13e4"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:04:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T16:54:46.5148352Z\",\r\n \"lastBootTime\": \"2015-08-17T16:54:46.4228021Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:54:46.5688003Z\",\r\n \"endTime\": \"2015-08-17T16:54:48.0816655Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-3257026573_2-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_2-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T20:27:45.9148103Z\",\r\n \"lastBootTime\": \"2015-08-13T20:27:45.8127934Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.74.139\",\r\n \"affinityId\": \"TVM:tvm-3257026573_2-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T20:27:45.949802Z\",\r\n \"endTime\": \"2015-08-13T20:27:47.5898996Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-3257026573_3-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_3-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T20:32:52.3245045Z\",\r\n \"lastBootTime\": \"2015-08-13T20:32:52.0585047Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.118.157\",\r\n \"affinityId\": \"TVM:tvm-3257026573_3-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T20:32:52.4725155Z\",\r\n \"endTime\": \"2015-08-13T20:32:54.0355045Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "a8cb9777-b4ea-44f7-85bb-642b0a6e7a9a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "9aa45970-34fa-4b61-b3cb-e741e0af13e4"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:25 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "5615a3da-8f5c-4ea1-8747-aabfb8a95d5f"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:04:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T16:54:46.5148352Z\",\r\n \"lastBootTime\": \"2015-08-17T16:54:46.4228021Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:54:46.5688003Z\",\r\n \"endTime\": \"2015-08-17T16:54:48.0816655Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "20ce9460-a5ca-44d5-a8c7-811aa4f51f88"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "5615a3da-8f5c-4ea1-8747-aabfb8a95d5f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:25 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "5615a3da-8f5c-4ea1-8747-aabfb8a95d5f"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:04:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T16:54:46.5148352Z\",\r\n \"lastBootTime\": \"2015-08-17T16:54:46.4228021Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:54:46.5688003Z\",\r\n \"endTime\": \"2015-08-17T16:54:48.0816655Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "20ce9460-a5ca-44d5-a8c7-811aa4f51f88"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "5615a3da-8f5c-4ea1-8747-aabfb8a95d5f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:25 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?reimage&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9yZWltYWdlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"nodeReimageOption\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "40"
+ ],
+ "client-request-id": [
+ "1f3550d5-bbed-42f6-a02c-a8b868baf45b"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:04:26 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "2308327f-20a3-4eda-a7db-dc4bd3939dee"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "1f3550d5-bbed-42f6-a02c-a8b868baf45b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:27 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8a7e5109-a292-40cd-83cf-fd076d6c283e"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:04:27 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"reimaging\",\r\n \"stateTransitionTime\": \"2015-08-17T17:04:27.4042443Z\",\r\n \"lastBootTime\": \"2015-08-17T16:54:46.4228021Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:54:46.5688003Z\",\r\n \"endTime\": \"2015-08-17T16:54:48.0816655Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "7ba82003-4349-4d18-9171-f732b53513f7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8a7e5109-a292-40cd-83cf-fd076d6c283e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:27 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8a7e5109-a292-40cd-83cf-fd076d6c283e"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:04:27 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"reimaging\",\r\n \"stateTransitionTime\": \"2015-08-17T17:04:27.4042443Z\",\r\n \"lastBootTime\": \"2015-08-17T16:54:46.4228021Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T16:54:46.5688003Z\",\r\n \"endTime\": \"2015-08-17T16:54:48.0816655Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "7ba82003-4349-4d18-9171-f732b53513f7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8a7e5109-a292-40cd-83cf-fd076d6c283e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:04:27 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestReimageComputeNodePipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestReimageComputeNodePipeline.json
new file mode 100644
index 000000000000..b706b484f638
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeTests/TestReimageComputeNodePipeline.json
@@ -0,0 +1,797 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-request-id": [
+ "ff21c9a5-c79b-4696-9f74-77ac5005efbb"
+ ],
+ "x-ms-correlation-request-id": [
+ "ff21c9a5-c79b-4696-9f74-77ac5005efbb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T171753Z:ff21c9a5-c79b-4696-9f74-77ac5005efbb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:53 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14994"
+ ],
+ "x-ms-request-id": [
+ "5a209db1-b874-415f-907b-97d10e721f57"
+ ],
+ "x-ms-correlation-request-id": [
+ "5a209db1-b874-415f-907b-97d10e721f57"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T171755Z:5a209db1-b874-415f-907b-97d10e721f57"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "febc5737-4220-470b-8194-9f10d3f24c4b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-request-id": [
+ "395d56cc-f440-4b9d-9afc-987a313b0232"
+ ],
+ "x-ms-correlation-request-id": [
+ "395d56cc-f440-4b9d-9afc-987a313b0232"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T171754Z:395d56cc-f440-4b9d-9afc-987a313b0232"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:53 GMT"
+ ],
+ "ETag": [
+ "0x8D2A727CA9D8E78"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Mon, 17 Aug 2015 17:17:57 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "3a2b5e07-ef6e-415d-a98e-5b0c95333d94"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-request-id": [
+ "996d1a95-4524-4151-8311-d605ae1012ca"
+ ],
+ "x-ms-correlation-request-id": [
+ "996d1a95-4524-4151-8311-d605ae1012ca"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T171756Z:996d1a95-4524-4151-8311-d605ae1012ca"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2A727CB84C35A"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "04aca641-2d4a-4630-8c21-56060ab94b64"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "94967d21-f3c1-4343-afc0-e50fa785589d"
+ ],
+ "x-ms-correlation-request-id": [
+ "94967d21-f3c1-4343-afc0-e50fa785589d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T171754Z:94967d21-f3c1-4343-afc0-e50fa785589d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:54 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "7d82bd23-612f-4944-95aa-368c62b98c72"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "d5bfd9a1-b48f-4ad7-8420-3e1a6a81e54d"
+ ],
+ "x-ms-correlation-request-id": [
+ "d5bfd9a1-b48f-4ad7-8420-3e1a6a81e54d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150817T171756Z:d5bfd9a1-b48f-4ad7-8420-3e1a6a81e54d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f9ae4fea-8c5c-49b3-81f2-d94b39010488"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:54 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T17:10:43.5860086Z\",\r\n \"lastBootTime\": \"2015-08-17T17:10:43.4937439Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T17:10:43.733705Z\",\r\n \"endTime\": \"2015-08-17T17:10:45.5270336Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-3257026573_2-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_2-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T20:27:45.9148103Z\",\r\n \"lastBootTime\": \"2015-08-13T20:27:45.8127934Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.74.139\",\r\n \"affinityId\": \"TVM:tvm-3257026573_2-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T20:27:45.949802Z\",\r\n \"endTime\": \"2015-08-13T20:27:47.5898996Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"tvm-3257026573_3-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_3-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-13T20:32:52.3245045Z\",\r\n \"lastBootTime\": \"2015-08-13T20:32:52.0585047Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.118.157\",\r\n \"affinityId\": \"TVM:tvm-3257026573_3-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-13T20:32:52.4725155Z\",\r\n \"endTime\": \"2015-08-13T20:32:54.0355045Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "475d8cfe-1277-40f1-85fc-f47cf95d66bf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f9ae4fea-8c5c-49b3-81f2-d94b39010488"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "be8888fe-b2ba-4f34-ae7a-54e3f29de2ea"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T17:10:43.5860086Z\",\r\n \"lastBootTime\": \"2015-08-17T17:10:43.4937439Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T17:10:43.733705Z\",\r\n \"endTime\": \"2015-08-17T17:10:45.5270336Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "aaef215a-832e-4e00-a3ac-78680a72fa99"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "be8888fe-b2ba-4f34-ae7a-54e3f29de2ea"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "be8888fe-b2ba-4f34-ae7a-54e3f29de2ea"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T17:10:43.5860086Z\",\r\n \"lastBootTime\": \"2015-08-17T17:10:43.4937439Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T17:10:43.733705Z\",\r\n \"endTime\": \"2015-08-17T17:10:45.5270336Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "aaef215a-832e-4e00-a3ac-78680a72fa99"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "be8888fe-b2ba-4f34-ae7a-54e3f29de2ea"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "146bfd89-0899-4c25-9e4b-04bd23a3be32"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes/@Element\",\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"idle\",\r\n \"stateTransitionTime\": \"2015-08-17T17:10:43.5860086Z\",\r\n \"lastBootTime\": \"2015-08-17T17:10:43.4937439Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T17:10:43.733705Z\",\r\n \"endTime\": \"2015-08-17T17:10:45.5270336Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d3248ec0-5ca1-4fc4-9cb5-b2c83fefbe81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "146bfd89-0899-4c25-9e4b-04bd23a3be32"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?reimage&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9yZWltYWdlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"nodeReimageOption\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "40"
+ ],
+ "client-request-id": [
+ "e40e81e6-56d1-47b2-9985-56b548fc44d0"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "1f7dc128-824b-43f8-98df-fb262b3bdd0c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "e40e81e6-56d1-47b2-9985-56b548fc44d0"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z?reimage&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzL3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4ej9yZWltYWdlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"nodeReimageOption\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "40"
+ ],
+ "client-request-id": [
+ "e40e81e6-56d1-47b2-9985-56b548fc44d0"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "1f7dc128-824b-43f8-98df-fb262b3bdd0c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "e40e81e6-56d1-47b2-9985-56b548fc44d0"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "aaffcf53-939a-4d0e-b1b1-b01dd59a9a1a"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:57 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"reimaging\",\r\n \"stateTransitionTime\": \"2015-08-17T17:17:56.7042869Z\",\r\n \"lastBootTime\": \"2015-08-17T17:10:43.4937439Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T17:10:43.733705Z\",\r\n \"endTime\": \"2015-08-17T17:10:45.5270336Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "765e7f25-27ac-4740-8ee5-c1d50cad8b11"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "aaffcf53-939a-4d0e-b1b1-b01dd59a9a1a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "aaffcf53-939a-4d0e-b1b1-b01dd59a9a1a"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:57 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"reimaging\",\r\n \"stateTransitionTime\": \"2015-08-17T17:17:56.7042869Z\",\r\n \"lastBootTime\": \"2015-08-17T17:10:43.4937439Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T17:10:43.733705Z\",\r\n \"endTime\": \"2015-08-17T17:10:45.5270336Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "765e7f25-27ac-4740-8ee5-c1d50cad8b11"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "aaffcf53-939a-4d0e-b1b1-b01dd59a9a1a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool/nodes?$filter=id%20eq%20'tvm-3257026573_1-20150813t200938z'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sL25vZGVzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3R2bS0zMjU3MDI2NTczXzEtMjAxNTA4MTN0MjAwOTM4eiUyNyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "aaffcf53-939a-4d0e-b1b1-b01dd59a9a1a"
+ ],
+ "ocp-date": [
+ "Mon, 17 Aug 2015 17:17:57 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#nodes\",\r\n \"value\": [\r\n {\r\n \"id\": \"tvm-3257026573_1-20150813t200938z\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool/nodes/tvm-3257026573_1-20150813t200938z\",\r\n \"state\": \"reimaging\",\r\n \"stateTransitionTime\": \"2015-08-17T17:17:56.7042869Z\",\r\n \"lastBootTime\": \"2015-08-17T17:10:43.4937439Z\",\r\n \"allocationTime\": \"2015-08-13T20:09:38.3879059Z\",\r\n \"ipAddress\": \"100.112.90.76\",\r\n \"affinityId\": \"TVM:tvm-3257026573_1-20150813t200938z\",\r\n \"vmSize\": \"small\",\r\n \"totalTasksRun\": 0,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"startTaskInfo\": {\r\n \"state\": \"completed\",\r\n \"startTime\": \"2015-08-17T17:10:43.733705Z\",\r\n \"endTime\": \"2015-08-17T17:10:45.5270336Z\",\r\n \"exitCode\": 0,\r\n \"retryCount\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "765e7f25-27ac-4740-8ee5-c1d50cad8b11"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "aaffcf53-939a-4d0e-b1b1-b01dd59a9a1a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Mon, 17 Aug 2015 17:17:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestCreateComputeNodeUser.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestCreateComputeNodeUser.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestCreateComputeNodeUser.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestCreateComputeNodeUser.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestCreateComputeNodeUserPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestCreateComputeNodeUserPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestCreateComputeNodeUserPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestCreateComputeNodeUserPipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestDeleteComputeNodeUser.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestDeleteComputeNodeUser.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestDeleteComputeNodeUser.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.ComputeNodeUserTests/TestDeleteComputeNodeUser.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileByComputeNodeByName.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileByComputeNodeByName.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileByComputeNodeByName.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileByComputeNodeByName.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileByTaskByName.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileByTaskByName.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileByTaskByName.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileByTaskByName.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByComputeNodeByName.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByComputeNodeByName.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByComputeNodeByName.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByComputeNodeByName.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByComputeNodeByPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByComputeNodeByPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByComputeNodeByPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByComputeNodeByPipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByTaskByName.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByTaskByName.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByTaskByName.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByTaskByName.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByTaskPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByTaskPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByTaskPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetNodeFileContentByTaskPipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRemoteDesktopProtocolFileById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRemoteDesktopProtocolFileById.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRemoteDesktopProtocolFileById.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRemoteDesktopProtocolFileById.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRemoteDesktopProtocolFilePipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRemoteDesktopProtocolFilePipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRemoteDesktopProtocolFilePipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestGetRemoteDesktopProtocolFilePipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllNodeFilesByComputeNode.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllNodeFilesByComputeNode.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllNodeFilesByComputeNode.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllNodeFilesByComputeNode.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllNodeFilesByTask.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllNodeFilesByTask.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllNodeFilesByTask.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListAllNodeFilesByTask.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFileByComputeNodePipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFileByComputeNodePipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFileByComputeNodePipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFileByComputeNodePipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFileByTaskPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFileByTaskPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFileByTaskPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFileByTaskPipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeByFilter.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeByFilter.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeByFilter.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeByFilter.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeRecursive.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeRecursive.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeRecursive.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeRecursive.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeWithMaxCount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeWithMaxCount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeWithMaxCount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByComputeNodeWithMaxCount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskByFilter.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskByFilter.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskByFilter.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskByFilter.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskRecursive.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskRecursive.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskRecursive.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskRecursive.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskWithMaxCount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskWithMaxCount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskWithMaxCount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.FileTests/TestListNodeFilesByTaskWithMaxCount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDeleteJobSchedule.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDeleteJobSchedule.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDeleteJobSchedule.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDeleteJobSchedule.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDeleteJobSchedulePipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDeleteJobSchedulePipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDeleteJobSchedulePipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDeleteJobSchedulePipeline.json
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDisableAndEnableJobSchedule.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDisableAndEnableJobSchedule.json
new file mode 100644
index 000000000000..3e3e0f58aadb
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestDisableAndEnableJobSchedule.json
@@ -0,0 +1,2891 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-request-id": [
+ "61a29d9c-b813-43fa-9d22-ce1d125fd919"
+ ],
+ "x-ms-correlation-request-id": [
+ "61a29d9c-b813-43fa-9d22-ce1d125fd919"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T223851Z:61a29d9c-b813-43fa-9d22-ce1d125fd919"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:50 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-request-id": [
+ "2dcad169-7b44-416a-8def-93685d768f2c"
+ ],
+ "x-ms-correlation-request-id": [
+ "2dcad169-7b44-416a-8def-93685d768f2c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T223853Z:2dcad169-7b44-416a-8def-93685d768f2c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:53 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:52 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "e184d191-0bec-461f-841b-2be29fb39456"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-request-id": [
+ "70aa6ce7-849e-48f7-ac32-7d7d5e6b09c7"
+ ],
+ "x-ms-correlation-request-id": [
+ "70aa6ce7-849e-48f7-ac32-7d7d5e6b09c7"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T223852Z:70aa6ce7-849e-48f7-ac32-7d7d5e6b09c7"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:51 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7949F630AE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:53 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "2130cad3-ccee-4dd6-bcd1-6b9d144dbb06"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-request-id": [
+ "9e6257ff-1a01-430c-aa26-46d2cb52c3a1"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e6257ff-1a01-430c-aa26-46d2cb52c3a1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T223854Z:9e6257ff-1a01-430c-aa26-46d2cb52c3a1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:53 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794AFADF6E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "64aacf2c-fa29-49ce-960a-98569e95162c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "38aaff54-8736-437b-909d-5af1539c40f8"
+ ],
+ "x-ms-correlation-request-id": [
+ "38aaff54-8736-437b-909d-5af1539c40f8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T223852Z:38aaff54-8736-437b-909d-5af1539c40f8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:51 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "beec90cd-db74-4890-abd3-016e0a55a2aa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "1f7a160b-aab1-4112-bc8b-bd5c6e16b1ba"
+ ],
+ "x-ms-correlation-request-id": [
+ "1f7a160b-aab1-4112-bc8b-bd5c6e16b1ba"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T223854Z:1f7a160b-aab1-4112-bc8b-bd5c6e16b1ba"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:53 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"schedule\": {},\r\n \"jobSpecification\": {\r\n \"commonEnvironmentSettings\": [],\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "186"
+ ],
+ "client-request-id": [
+ "9b019097-9288-4637-9118-7775a3bff46d"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:52 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:53 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "972fa2db-0706-4be6-841c-8836c3072161"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "9b019097-9288-4637-9118-7775a3bff46d"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:53 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794A8362F2"
+ ],
+ "Location": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3920b7ac-3138-466b-b5ef-9780b96d5a6a"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794A8362F2\",\r\n \"lastModified\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:53 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "caf46a71-cae7-4721-b402-f0ddc86eb325"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3920b7ac-3138-466b-b5ef-9780b96d5a6a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794A8362F2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3f925742-85a2-4a58-849f-d2bae4d30ad9"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794B997F95\",\r\n \"lastModified\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "247a3f92-a782-47f0-8841-566252d0364d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3f925742-85a2-4a58-849f-d2bae4d30ad9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794B997F95"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3f925742-85a2-4a58-849f-d2bae4d30ad9"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794B997F95\",\r\n \"lastModified\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "247a3f92-a782-47f0-8841-566252d0364d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3f925742-85a2-4a58-849f-d2bae4d30ad9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794B997F95"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3f925742-85a2-4a58-849f-d2bae4d30ad9"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794B997F95\",\r\n \"lastModified\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "247a3f92-a782-47f0-8841-566252d0364d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3f925742-85a2-4a58-849f-d2bae4d30ad9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794B997F95"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BF7F860\",\r\n \"lastModified\": \"2015-08-21T22:38:55.496816Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "98707933-e0eb-42a2-97af-c4d50db5cf81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BF7F860\",\r\n \"lastModified\": \"2015-08-21T22:38:55.496816Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "98707933-e0eb-42a2-97af-c4d50db5cf81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BF7F860\",\r\n \"lastModified\": \"2015-08-21T22:38:55.496816Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "98707933-e0eb-42a2-97af-c4d50db5cf81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BF7F860\",\r\n \"lastModified\": \"2015-08-21T22:38:55.496816Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "98707933-e0eb-42a2-97af-c4d50db5cf81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BF7F860\",\r\n \"lastModified\": \"2015-08-21T22:38:55.496816Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "98707933-e0eb-42a2-97af-c4d50db5cf81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BF7F860\",\r\n \"lastModified\": \"2015-08-21T22:38:55.496816Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "98707933-e0eb-42a2-97af-c4d50db5cf81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules/@Element\",\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BF7F860\",\r\n \"lastModified\": \"2015-08-21T22:38:55.496816Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "98707933-e0eb-42a2-97af-c4d50db5cf81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b86e3dd-62db-4bba-b5ae-4f5a6991cbcd"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2Rpc2FibGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "2205df0d-38cf-4256-a87e-6e84b1db84dc"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "request-id": [
+ "eb1ba061-57c4-477a-ad6d-58ff7f865095"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "2205df0d-38cf-4256-a87e-6e84b1db84dc"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794B997F95"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2Rpc2FibGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "2205df0d-38cf-4256-a87e-6e84b1db84dc"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:54 GMT"
+ ],
+ "request-id": [
+ "eb1ba061-57c4-477a-ad6d-58ff7f865095"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "2205df0d-38cf-4256-a87e-6e84b1db84dc"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794B997F95"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2Rpc2FibGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "7304ff2e-5695-4a5a-b574-7a576eb90cac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2Rpc2FibGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "7304ff2e-5695-4a5a-b574-7a576eb90cac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2Rpc2FibGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "7304ff2e-5695-4a5a-b574-7a576eb90cac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2Rpc2FibGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "7304ff2e-5695-4a5a-b574-7a576eb90cac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2Rpc2FibGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "7304ff2e-5695-4a5a-b574-7a576eb90cac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2Rpc2FibGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "7304ff2e-5695-4a5a-b574-7a576eb90cac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b4ed0ff-dad2-4d36-b987-80b688a066de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BF7F860"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "cda3d5c1-8592-47ba-b8d7-5135d7a74e2b"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "8fc52438-402e-40e4-9dc6-834165f93045"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "cda3d5c1-8592-47ba-b8d7-5135d7a74e2b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BBDCD68"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "cda3d5c1-8592-47ba-b8d7-5135d7a74e2b"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "8fc52438-402e-40e4-9dc6-834165f93045"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "cda3d5c1-8592-47ba-b8d7-5135d7a74e2b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BBDCD68"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "cda3d5c1-8592-47ba-b8d7-5135d7a74e2b"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "8fc52438-402e-40e4-9dc6-834165f93045"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "cda3d5c1-8592-47ba-b8d7-5135d7a74e2b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BBDCD68"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "cda3d5c1-8592-47ba-b8d7-5135d7a74e2b"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "8fc52438-402e-40e4-9dc6-834165f93045"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "cda3d5c1-8592-47ba-b8d7-5135d7a74e2b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794BBDCD68"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "5823ad95-4eed-4d02-bed6-b541e2188774"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794C2847D4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "5823ad95-4eed-4d02-bed6-b541e2188774"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794C2847D4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "5823ad95-4eed-4d02-bed6-b541e2188774"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794C2847D4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "5823ad95-4eed-4d02-bed6-b541e2188774"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794C2847D4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "5823ad95-4eed-4d02-bed6-b541e2188774"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794C2847D4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "5823ad95-4eed-4d02-bed6-b541e2188774"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794C2847D4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "5823ad95-4eed-4d02-bed6-b541e2188774"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794C2847D4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2VuYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "request-id": [
+ "5823ad95-4eed-4d02-bed6-b541e2188774"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "254be1de-c665-410d-aaa0-6c44ff0403b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA794C2847D4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BBDCD68\",\r\n \"lastModified\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6aa114c3-8bfa-42b0-9e5c-4eda53baab9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BBDCD68\",\r\n \"lastModified\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6aa114c3-8bfa-42b0-9e5c-4eda53baab9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BBDCD68\",\r\n \"lastModified\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6aa114c3-8bfa-42b0-9e5c-4eda53baab9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BBDCD68\",\r\n \"lastModified\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6aa114c3-8bfa-42b0-9e5c-4eda53baab9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794BBDCD68\",\r\n \"lastModified\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.1156072Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:54.8776853Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6aa114c3-8bfa-42b0-9e5c-4eda53baab9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "58326e79-4a10-4756-a9dc-43cbfd8ecd31"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules?$filter=id%20eq%20'testDisableEnableJobSchedule'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcz8kZmlsdGVyPWlkJTIwZXElMjAlMjd0ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobschedules\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJobSchedule\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobschedules/testDisableEnableJobSchedule\",\r\n \"eTag\": \"0x8D2AA794C2847D4\",\r\n \"lastModified\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"creationTime\": \"2015-08-21T22:38:53.0550514Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:38:55.8134228Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:38:55.496816Z\",\r\n \"jobSpecification\": {\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJobSchedule:job-1\",\r\n \"id\": \"testDisableEnableJobSchedule:job-1\"\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "47a18fac-69d4-4a66-b0ef-0fa6d3233353"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "87fdae66-4cb9-4f8f-a156-f253165311ee"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "1f994cfa-95a3-47a8-ba70-8ebbc19830a2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "910b75c8-55d7-4888-b7a3-529bfb08edbb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "1f994cfa-95a3-47a8-ba70-8ebbc19830a2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobschedules/testDisableEnableJobSchedule?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnNjaGVkdWxlcy90ZXN0RGlzYWJsZUVuYWJsZUpvYlNjaGVkdWxlP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "1f994cfa-95a3-47a8-ba70-8ebbc19830a2"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "910b75c8-55d7-4888-b7a3-529bfb08edbb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "1f994cfa-95a3-47a8-ba70-8ebbc19830a2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:38:55 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestGetJobScheduleById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestGetJobScheduleById.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestGetJobScheduleById.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestGetJobScheduleById.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListAllJobSchedules.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListAllJobSchedules.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListAllJobSchedules.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListAllJobSchedules.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListJobSchedulesByFilter.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListJobSchedulesByFilter.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListJobSchedulesByFilter.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListJobSchedulesByFilter.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListJobSchedulesWithMaxCount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListJobSchedulesWithMaxCount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListJobSchedulesWithMaxCount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestListJobSchedulesWithMaxCount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestNewJobSchedule.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestNewJobSchedule.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestNewJobSchedule.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobScheduleTests/TestNewJobSchedule.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJob.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJob.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJob.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJob.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJobPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJobPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJobPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDeleteJobPipeline.json
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDisableAndEnableJob.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDisableAndEnableJob.json
new file mode 100644
index 000000000000..b260602bf5b9
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestDisableAndEnableJob.json
@@ -0,0 +1,2939 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-request-id": [
+ "98c49d97-2010-468c-89ee-7a7066a69b62"
+ ],
+ "x-ms-correlation-request-id": [
+ "98c49d97-2010-468c-89ee-7a7066a69b62"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T224644Z:98c49d97-2010-468c-89ee-7a7066a69b62"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:44 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-request-id": [
+ "be7cdc7e-06be-410f-84c3-724489a470fb"
+ ],
+ "x-ms-correlation-request-id": [
+ "be7cdc7e-06be-410f-84c3-724489a470fb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T224647Z:be7cdc7e-06be-410f-84c3-724489a470fb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:46 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:46 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "dc0b5397-5919-4dc8-b95f-802c422b0ed5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-request-id": [
+ "6541bb7e-fc2c-498f-a060-ec928750cb0e"
+ ],
+ "x-ms-correlation-request-id": [
+ "6541bb7e-fc2c-498f-a060-ec928750cb0e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T224646Z:6541bb7e-fc2c-498f-a060-ec928750cb0e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:45 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A6477BA57"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "97e6d423-50c8-4e47-b645-2d9eb4c38768"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14994"
+ ],
+ "x-ms-request-id": [
+ "a3ef8dee-c75e-40a1-a5d4-a47fbb2b430f"
+ ],
+ "x-ms-correlation-request-id": [
+ "a3ef8dee-c75e-40a1-a5d4-a47fbb2b430f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T224647Z:a3ef8dee-c75e-40a1-a5d4-a47fbb2b430f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:46 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A6534ABC8"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "62cbc469-1e63-45ae-9f0f-20ca87ab06c8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-request-id": [
+ "004d6246-bf6e-4ff3-a076-ad7bbc647bf2"
+ ],
+ "x-ms-correlation-request-id": [
+ "004d6246-bf6e-4ff3-a076-ad7bbc647bf2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T224646Z:004d6246-bf6e-4ff3-a076-ad7bbc647bf2"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:45 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "1ab2a584-bd96-4dfa-ade7-a033c59380e4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "28ccbe67-779c-44c0-bc35-7cf9dde643ea"
+ ],
+ "x-ms-correlation-request-id": [
+ "28ccbe67-779c-44c0-bc35-7cf9dde643ea"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150821T224647Z:28ccbe67-779c-44c0-bc35-7cf9dde643ea"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:47 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"id\": \"testDisableEnableJob\",\r\n \"priority\": 0,\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "103"
+ ],
+ "client-request-id": [
+ "88a632bf-6cae-4f86-bc8a-fb85cba097d8"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:46 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:46 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5ee5de7f-5fb1-4c03-9e55-767f3a5702ae"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "88a632bf-6cae-4f86-bc8a-fb85cba097d8"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/job-1"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:46 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A64E3B8C6"
+ ],
+ "Location": [
+ "https://pstests.eastus.batch.azure.com/jobs/job-1"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "28461697-e412-4636-b6d8-aebd5f61f10b"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:47 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A64E3B8C6\",\r\n \"lastModified\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:46 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "08729fa5-a7fa-4879-8f6c-4cb6d58a03b3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "28461697-e412-4636-b6d8-aebd5f61f10b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A64E3B8C6"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "db9df0c3-8724-4422-94fc-a82c16e3f3fa"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A659AE6B0\",\r\n \"lastModified\": \"2015-08-21T22:46:48.0043696Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.0163695Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cddcb7b0-edc1-4f2a-b2ce-bb52a9e0b9b7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "db9df0c3-8724-4422-94fc-a82c16e3f3fa"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A659AE6B0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "db9df0c3-8724-4422-94fc-a82c16e3f3fa"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A659AE6B0\",\r\n \"lastModified\": \"2015-08-21T22:46:48.0043696Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.0163695Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cddcb7b0-edc1-4f2a-b2ce-bb52a9e0b9b7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "db9df0c3-8724-4422-94fc-a82c16e3f3fa"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A659AE6B0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "db9df0c3-8724-4422-94fc-a82c16e3f3fa"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A659AE6B0\",\r\n \"lastModified\": \"2015-08-21T22:46:48.0043696Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.0163695Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cddcb7b0-edc1-4f2a-b2ce-bb52a9e0b9b7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "db9df0c3-8724-4422-94fc-a82c16e3f3fa"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A659AE6B0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65EB217C\",\r\n \"lastModified\": \"2015-08-21T22:46:48.5301628Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cf5b0bc7-0508-462e-9912-55b7c693db2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65EB217C\",\r\n \"lastModified\": \"2015-08-21T22:46:48.5301628Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cf5b0bc7-0508-462e-9912-55b7c693db2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65EB217C\",\r\n \"lastModified\": \"2015-08-21T22:46:48.5301628Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cf5b0bc7-0508-462e-9912-55b7c693db2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65EB217C\",\r\n \"lastModified\": \"2015-08-21T22:46:48.5301628Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cf5b0bc7-0508-462e-9912-55b7c693db2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65EB217C\",\r\n \"lastModified\": \"2015-08-21T22:46:48.5301628Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cf5b0bc7-0508-462e-9912-55b7c693db2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65EB217C\",\r\n \"lastModified\": \"2015-08-21T22:46:48.5301628Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cf5b0bc7-0508-462e-9912-55b7c693db2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs/@Element\",\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65EB217C\",\r\n \"lastModified\": \"2015-08-21T22:46:48.5301628Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"disabled\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "cf5b0bc7-0508-462e-9912-55b7c693db2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f63d797b-ca02-4bd7-9f9c-b584b48cfaca"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZGlzYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"disableTasks\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "35"
+ ],
+ "client-request-id": [
+ "15041852-c71c-4e25-bb8a-445b2650eb7f"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:47 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "1d582ab1-37a2-499a-9531-2c2b284b6c19"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "15041852-c71c-4e25-bb8a-445b2650eb7f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A659AE6B0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZGlzYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"disableTasks\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "35"
+ ],
+ "client-request-id": [
+ "15041852-c71c-4e25-bb8a-445b2650eb7f"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:47 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "1d582ab1-37a2-499a-9531-2c2b284b6c19"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "15041852-c71c-4e25-bb8a-445b2650eb7f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A659AE6B0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZGlzYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"disableTasks\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "35"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9777fe75-053f-41b5-8c1c-85814118983c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZGlzYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"disableTasks\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "35"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9777fe75-053f-41b5-8c1c-85814118983c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZGlzYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"disableTasks\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "35"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9777fe75-053f-41b5-8c1c-85814118983c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZGlzYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"disableTasks\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "35"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9777fe75-053f-41b5-8c1c-85814118983c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZGlzYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"disableTasks\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "35"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9777fe75-053f-41b5-8c1c-85814118983c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?disable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZGlzYWJsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"disableTasks\": \"terminate\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "35"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9777fe75-053f-41b5-8c1c-85814118983c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "19512a8b-27b3-401d-b7a1-7cc740f5153c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65EB217C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "38a703b4-8783-4a24-aa10-cff2088fa692"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "ebea745b-731d-4103-8df5-408eae0ff40a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "38a703b4-8783-4a24-aa10-cff2088fa692"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65B72CB9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "38a703b4-8783-4a24-aa10-cff2088fa692"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "ebea745b-731d-4103-8df5-408eae0ff40a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "38a703b4-8783-4a24-aa10-cff2088fa692"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65B72CB9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "38a703b4-8783-4a24-aa10-cff2088fa692"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "ebea745b-731d-4103-8df5-408eae0ff40a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "38a703b4-8783-4a24-aa10-cff2088fa692"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65B72CB9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "38a703b4-8783-4a24-aa10-cff2088fa692"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "ebea745b-731d-4103-8df5-408eae0ff40a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "38a703b4-8783-4a24-aa10-cff2088fa692"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A65B72CB9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d2281b7e-7842-404f-9d1a-fa0afd8b8024"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A66064A9E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d2281b7e-7842-404f-9d1a-fa0afd8b8024"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A66064A9E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d2281b7e-7842-404f-9d1a-fa0afd8b8024"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A66064A9E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d2281b7e-7842-404f-9d1a-fa0afd8b8024"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A66064A9E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d2281b7e-7842-404f-9d1a-fa0afd8b8024"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A66064A9E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d2281b7e-7842-404f-9d1a-fa0afd8b8024"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A66064A9E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d2281b7e-7842-404f-9d1a-fa0afd8b8024"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A66064A9E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?enable&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/ZW5hYmxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d2281b7e-7842-404f-9d1a-fa0afd8b8024"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "63638c9a-f852-452e-8cb0-21c7311d02e3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "ETag": [
+ "0x8D2AA7A66064A9E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65B72CB9\",\r\n \"lastModified\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.0163695Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e57d7915-4215-4e46-b8e7-f2d11f3bac21"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65B72CB9\",\r\n \"lastModified\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.0163695Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e57d7915-4215-4e46-b8e7-f2d11f3bac21"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65B72CB9\",\r\n \"lastModified\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.0163695Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e57d7915-4215-4e46-b8e7-f2d11f3bac21"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65B72CB9\",\r\n \"lastModified\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.0163695Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e57d7915-4215-4e46-b8e7-f2d11f3bac21"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A65B72CB9\",\r\n \"lastModified\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.1896633Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.0163695Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e57d7915-4215-4e46-b8e7-f2d11f3bac21"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "783def14-17e8-4790-8499-2904f4669921"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs?$filter=id%20eq%20'testDisableEnableJob'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnM/JGZpbHRlcj1pZCUyMGVxJTIwJTI3dGVzdERpc2FibGVFbmFibGVKb2IlMjcmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"id\": \"testDisableEnableJob\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/jobs/testDisableEnableJob\",\r\n \"eTag\": \"0x8D2AA7A66064A9E\",\r\n \"lastModified\": \"2015-08-21T22:46:48.708163Z\",\r\n \"creationTime\": \"2015-08-21T22:46:46.7878771Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-21T22:46:48.708163Z\",\r\n \"previousState\": \"disabled\",\r\n \"previousStateTransitionTime\": \"2015-08-21T22:46:48.5411544Z\",\r\n \"priority\": 0,\r\n \"constraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"poolInfo\": {\r\n \"poolId\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-08-21T22:46:46.8038854Z\",\r\n \"poolId\": \"testPool\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c98931c0-53fd-4860-857b-b524bd2b24bd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7f050322-df71-41f9-b657-36b0b7591347"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "79a013b5-df30-48cf-8653-9e132c242de8"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "273346bd-5f65-4ce5-93a4-e6d376b0a622"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "79a013b5-df30-48cf-8653-9e132c242de8"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/jobs/testDisableEnableJob?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L2pvYnMvdGVzdERpc2FibGVFbmFibGVKb2I/YXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "79a013b5-df30-48cf-8653-9e132c242de8"
+ ],
+ "ocp-date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "273346bd-5f65-4ce5-93a4-e6d376b0a622"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "79a013b5-df30-48cf-8653-9e132c242de8"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Fri, 21 Aug 2015 22:46:48 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobById.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobById.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobById.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsUnderSchedule.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsUnderSchedule.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsUnderSchedule.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsUnderSchedule.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestNewJob.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestNewJob.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestNewJob.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestNewJob.json
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestChangeOSVersionById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestChangeOSVersionById.json
new file mode 100644
index 000000000000..2206b8026b06
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestChangeOSVersionById.json
@@ -0,0 +1,741 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-request-id": [
+ "9633f949-46a5-4002-b257-1914b6b5dbe8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9633f949-46a5-4002-b257-1914b6b5dbe8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T225830Z:9633f949-46a5-4002-b257-1914b6b5dbe8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:30 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-request-id": [
+ "8571dbfe-f6cc-4da5-b616-a3aad3e6911f"
+ ],
+ "x-ms-correlation-request-id": [
+ "8571dbfe-f6cc-4da5-b616-a3aad3e6911f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T225832Z:8571dbfe-f6cc-4da5-b616-a3aad3e6911f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:32 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:58:31 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "8c795b27-c83a-463e-b215-c65c631b6d34"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-request-id": [
+ "58361ab9-16e9-4f91-bf13-038da0e7dead"
+ ],
+ "x-ms-correlation-request-id": [
+ "58361ab9-16e9-4f91-bf13-038da0e7dead"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T225831Z:58361ab9-16e9-4f91-bf13-038da0e7dead"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:30 GMT"
+ ],
+ "ETag": [
+ "0x8D2A432B5C69EB8"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "ac120aaf-2100-4a96-813c-5b64f78f4d68"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-request-id": [
+ "967d661f-c302-4f56-8dfd-49cbe8580b7f"
+ ],
+ "x-ms-correlation-request-id": [
+ "967d661f-c302-4f56-8dfd-49cbe8580b7f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T225833Z:967d661f-c302-4f56-8dfd-49cbe8580b7f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:32 GMT"
+ ],
+ "ETag": [
+ "0x8D2A432B6C3670F"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "7e8bf0b2-88fc-419d-b828-d4510ae92a44"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "4fa6b8ed-08d6-49fe-9a9a-5d2a4cfdee3f"
+ ],
+ "x-ms-correlation-request-id": [
+ "4fa6b8ed-08d6-49fe-9a9a-5d2a4cfdee3f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T225831Z:4fa6b8ed-08d6-49fe-9a9a-5d2a4cfdee3f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:30 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "5e833131-eb98-4910-b6cd-8ba474b91e51"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "8970f01d-dad4-4558-b185-5035070f7840"
+ ],
+ "x-ms-correlation-request-id": [
+ "8970f01d-dad4-4558-b185-5035070f7840"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T225833Z:8970f01d-dad4-4558-b185-5035070f7840"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:32 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "a67b9548-fd46-4626-91fa-f59f4ac4d1ef"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 22:58:31 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A42F3C68C674\",\r\n \"lastModified\": \"2015-08-13T22:33:39.6578932Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:33:39 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "0a493f1a-c96f-47a9-9f15-c4eebcfd1bd1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "a67b9548-fd46-4626-91fa-f59f4ac4d1ef"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:31 GMT"
+ ],
+ "ETag": [
+ "0x8D2A42F3C68C674"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d0e715aa-0840-45d8-8ca2-11a944e7f0e8"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A42F3C68C674\",\r\n \"lastModified\": \"2015-08-13T22:33:39.6578932Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:33:39 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b455a3d4-d393-46dc-9538-46526386752b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d0e715aa-0840-45d8-8ca2-11a944e7f0e8"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "ETag": [
+ "0x8D2A42F3C68C674"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ae8e3f5-d979-4875-a0d0-c74c750c15bb"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 22:58:34 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A432B778A7BC\",\r\n \"lastModified\": \"2015-08-13T22:58:34.61191Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"upgrading\",\r\n \"stateTransitionTime\": \"2015-08-13T22:58:34.61191Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:58:34 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9b3b1838-0572-4c17-ab44-bb8297389d47"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ae8e3f5-d979-4875-a0d0-c74c750c15bb"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "ETag": [
+ "0x8D2A432B778A7BC"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ae8e3f5-d979-4875-a0d0-c74c750c15bb"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 22:58:34 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A432B778A7BC\",\r\n \"lastModified\": \"2015-08-13T22:58:34.61191Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"upgrading\",\r\n \"stateTransitionTime\": \"2015-08-13T22:58:34.61191Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:58:34 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9b3b1838-0572-4c17-ab44-bb8297389d47"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ae8e3f5-d979-4875-a0d0-c74c750c15bb"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "ETag": [
+ "0x8D2A432B778A7BC"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ae8e3f5-d979-4875-a0d0-c74c750c15bb"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 22:58:34 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A432B778A7BC\",\r\n \"lastModified\": \"2015-08-13T22:58:34.61191Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"upgrading\",\r\n \"stateTransitionTime\": \"2015-08-13T22:58:34.61191Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:58:34 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9b3b1838-0572-4c17-ab44-bb8297389d47"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ae8e3f5-d979-4875-a0d0-c74c750c15bb"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "ETag": [
+ "0x8D2A432B778A7BC"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?upgradeos&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3VwZ3JhZGVvcyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "55"
+ ],
+ "client-request-id": [
+ "88701c4d-ffc2-4125-9208-860f368dc46e"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:58:34 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5888a094-d1f0-4b84-a684-a87f4f1c4cce"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "88701c4d-ffc2-4125-9208-860f368dc46e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "ETag": [
+ "0x8D2A432B778A7BC"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool?upgradeos&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3VwZ3JhZGVvcyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "55"
+ ],
+ "client-request-id": [
+ "88701c4d-ffc2-4125-9208-860f368dc46e"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 22:58:34 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5888a094-d1f0-4b84-a684-a87f4f1c4cce"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "88701c4d-ffc2-4125-9208-860f368dc46e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 22:58:33 GMT"
+ ],
+ "ETag": [
+ "0x8D2A432B778A7BC"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestChangeOSVersionPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestChangeOSVersionPipeline.json
new file mode 100644
index 000000000000..42d1dcb34afe
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestChangeOSVersionPipeline.json
@@ -0,0 +1,955 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-request-id": [
+ "c52e11d6-e254-4414-af45-92fbcb5f15bb"
+ ],
+ "x-ms-correlation-request-id": [
+ "c52e11d6-e254-4414-af45-92fbcb5f15bb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T230615Z:c52e11d6-e254-4414-af45-92fbcb5f15bb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:15 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatchtest\",\r\n \"name\": \"jaschneibatchtest\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14989"
+ ],
+ "x-ms-request-id": [
+ "0de8c895-8fbc-4bb6-b4d7-0d5d1a122c6f"
+ ],
+ "x-ms-correlation-request-id": [
+ "0de8c895-8fbc-4bb6-b4d7-0d5d1a122c6f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T230618Z:0de8c895-8fbc-4bb6-b4d7-0d5d1a122c6f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:17 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "f9573f14-f5f1-4cb5-bd70-e0b5d200fe94"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14995"
+ ],
+ "x-ms-request-id": [
+ "5a260414-0ac8-49cd-8db3-d51d1400842c"
+ ],
+ "x-ms-correlation-request-id": [
+ "5a260414-0ac8-49cd-8db3-d51d1400842c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T230617Z:5a260414-0ac8-49cd-8db3-d51d1400842c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:16 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CB2AF221"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "bd3215c6-df1b-43e4-8a47-5c936f3bf49c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14994"
+ ],
+ "x-ms-request-id": [
+ "d5ff3ffe-85f5-40e1-8726-057e58d13c0b"
+ ],
+ "x-ms-correlation-request-id": [
+ "d5ff3ffe-85f5-40e1-8726-057e58d13c0b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T230618Z:d5ff3ffe-85f5-40e1-8726-057e58d13c0b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:17 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CBD93B05"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "b841cbe3-8c8d-41e1-b348-ac2442d12795"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-request-id": [
+ "9ef10238-b4c0-46c4-b9cd-11fed762933a"
+ ],
+ "x-ms-correlation-request-id": [
+ "9ef10238-b4c0-46c4-b9cd-11fed762933a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T230617Z:9ef10238-b4c0-46c4-b9cd-11fed762933a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:16 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "715e4ce2-248f-4563-a934-b427b56d5ae9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "746f5bb3-5dff-41ae-ada7-aae329994cfb"
+ ],
+ "x-ms-correlation-request-id": [
+ "746f5bb3-5dff-41ae-ada7-aae329994cfb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150813T230618Z:746f5bb3-5dff-41ae-ada7-aae329994cfb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "e214b1b6-efd2-4b1c-a390-f0b2d75171a3"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:17 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A4333A2D8B79\",\r\n \"lastModified\": \"2015-08-13T23:02:13.9011961Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:02:13 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "8383b96e-4aa8-42f9-8d3f-c549267aae11"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "e214b1b6-efd2-4b1c-a390-f0b2d75171a3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A4333A2D8B79"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "1bcde788-b497-4fa3-ba4e-bad734ded925"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A4333A2D8B79\",\r\n \"lastModified\": \"2015-08-13T23:02:13.9011961Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:02:13 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "804e0c2a-f692-4074-9842-347b085f9369"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "1bcde788-b497-4fa3-ba4e-bad734ded925"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A4333A2D8B79"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "26af53a1-1e41-4974-9b57-881e880922e7"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A433CCA26F9D\",\r\n \"lastModified\": \"2015-08-13T23:06:19.6146077Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"upgrading\",\r\n \"stateTransitionTime\": \"2015-08-13T23:06:19.6146077Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "351ec5b9-ad29-4234-8dff-2a10be731af6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "26af53a1-1e41-4974-9b57-881e880922e7"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CCA26F9D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "26af53a1-1e41-4974-9b57-881e880922e7"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A433CCA26F9D\",\r\n \"lastModified\": \"2015-08-13T23:06:19.6146077Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"upgrading\",\r\n \"stateTransitionTime\": \"2015-08-13T23:06:19.6146077Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "351ec5b9-ad29-4234-8dff-2a10be731af6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "26af53a1-1e41-4974-9b57-881e880922e7"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CCA26F9D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "26af53a1-1e41-4974-9b57-881e880922e7"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A433CCA26F9D\",\r\n \"lastModified\": \"2015-08-13T23:06:19.6146077Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"upgrading\",\r\n \"stateTransitionTime\": \"2015-08-13T23:06:19.6146077Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "351ec5b9-ad29-4234-8dff-2a10be731af6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "26af53a1-1e41-4974-9b57-881e880922e7"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CCA26F9D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "26af53a1-1e41-4974-9b57-881e880922e7"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A433CCA26F9D\",\r\n \"lastModified\": \"2015-08-13T23:06:19.6146077Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"upgrading\",\r\n \"stateTransitionTime\": \"2015-08-13T23:06:19.6146077Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "351ec5b9-ad29-4234-8dff-2a10be731af6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "26af53a1-1e41-4974-9b57-881e880922e7"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CCA26F9D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "be488cff-b6cf-4f11-aa37-e583a8ab4f83"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A4333A2D8B79\",\r\n \"lastModified\": \"2015-08-13T23:02:13.9011961Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "997aa7f8-602a-49c3-affb-d61afb41574b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "be488cff-b6cf-4f11-aa37-e583a8ab4f83"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "be488cff-b6cf-4f11-aa37-e583a8ab4f83"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D2A4333A2D8B79\",\r\n \"lastModified\": \"2015-08-13T23:02:13.9011961Z\",\r\n \"creationTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-13T20:08:04.98791Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-13T20:09:39.4561146Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "997aa7f8-602a-49c3-affb-d61afb41574b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "be488cff-b6cf-4f11-aa37-e583a8ab4f83"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?upgradeos&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3VwZ3JhZGVvcyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "55"
+ ],
+ "client-request-id": [
+ "4505ea5f-e672-48c6-8281-4d166c6cd54b"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6f664e1b-c277-4fdc-96a2-896e24805daa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4505ea5f-e672-48c6-8281-4d166c6cd54b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CCA26F9D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool?upgradeos&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3VwZ3JhZGVvcyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "55"
+ ],
+ "client-request-id": [
+ "4505ea5f-e672-48c6-8281-4d166c6cd54b"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6f664e1b-c277-4fdc-96a2-896e24805daa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4505ea5f-e672-48c6-8281-4d166c6cd54b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CCA26F9D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/pools/testPool?upgradeos&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP3VwZ3JhZGVvcyZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"targetOSVersion\": \"WA-GUEST-OS-4.20_201505-01\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "55"
+ ],
+ "client-request-id": [
+ "4505ea5f-e672-48c6-8281-4d166c6cd54b"
+ ],
+ "ocp-date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Thu, 13 Aug 2015 23:06:19 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6f664e1b-c277-4fdc-96a2-896e24805daa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4505ea5f-e672-48c6-8281-4d166c6cd54b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Thu, 13 Aug 2015 23:06:18 GMT"
+ ],
+ "ETag": [
+ "0x8D2A433CCA26F9D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePool.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePool.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePool.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePool.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePoolPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePoolPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePoolPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDeletePoolPipeline.json
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDisableAutoScaleById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDisableAutoScaleById.json
new file mode 100644
index 000000000000..35a645b89b8b
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDisableAutoScaleById.json
@@ -0,0 +1,992 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-request-id": [
+ "2a182bee-19bc-4750-bbae-0f9cb4272c29"
+ ],
+ "x-ms-correlation-request-id": [
+ "2a182bee-19bc-4750-bbae-0f9cb4272c29"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001349Z:2a182bee-19bc-4750-bbae-0f9cb4272c29"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:48 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14984"
+ ],
+ "x-ms-request-id": [
+ "fb889617-5a58-4bed-ad2c-ef74dfe91321"
+ ],
+ "x-ms-correlation-request-id": [
+ "fb889617-5a58-4bed-ad2c-ef74dfe91321"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001356Z:fb889617-5a58-4bed-ad2c-ef74dfe91321"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:52 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "b3590fbd-4973-4f92-a308-5467e95451db"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14977"
+ ],
+ "x-ms-request-id": [
+ "1e16904e-eceb-4b18-a6be-c7e734d96088"
+ ],
+ "x-ms-correlation-request-id": [
+ "1e16904e-eceb-4b18-a6be-c7e734d96088"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001350Z:1e16904e-eceb-4b18-a6be-c7e734d96088"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ABE74F9E4"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:58 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "4a3a0e0e-eedc-4985-ad05-789a52b4ae09"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14976"
+ ],
+ "x-ms-request-id": [
+ "d77c5ea4-e8c6-4155-a716-7cb477056896"
+ ],
+ "x-ms-correlation-request-id": [
+ "d77c5ea4-e8c6-4155-a716-7cb477056896"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001356Z:d77c5ea4-e8c6-4155-a716-7cb477056896"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AC2295785"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "9ddb8ebe-68c8-4d12-ad4b-cc10c549fc57"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1187"
+ ],
+ "x-ms-request-id": [
+ "a675685c-572d-4817-b7ff-a0efc4428815"
+ ],
+ "x-ms-correlation-request-id": [
+ "a675685c-572d-4817-b7ff-a0efc4428815"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001350Z:a675685c-572d-4817-b7ff-a0efc4428815"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "d6b0cd4c-131c-440e-89ce-ed2f4cdfe053"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1186"
+ ],
+ "x-ms-request-id": [
+ "ce28b8c1-f67d-4085-836d-49e9fa1e5db3"
+ ],
+ "x-ms-correlation-request-id": [
+ "ce28b8c1-f67d-4085-836d-49e9fa1e5db3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001356Z:ce28b8c1-f67d-4085-836d-49e9fa1e5db3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "282b3f6e-4772-4ccf-aed5-764aa57db3ad"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d003f4ee-69cf-4e5e-b27b-34e59e71a02e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "282b3f6e-4772-4ccf-aed5-764aa57db3ad"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ABD9EBEE0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "96a62196-7305-4490-9c1e-ad6246c24075"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:51 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ABD9EBEE0\",\r\n \"lastModified\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6df44251-1b9e-43f0-bd2a-981e90a83549"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "96a62196-7305-4490-9c1e-ad6246c24075"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ABD9EBEE0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "96a62196-7305-4490-9c1e-ad6246c24075"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:51 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ABD9EBEE0\",\r\n \"lastModified\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6df44251-1b9e-43f0-bd2a-981e90a83549"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "96a62196-7305-4490-9c1e-ad6246c24075"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ABD9EBEE0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8f19d5c6-55b7-47c4-85fd-037f28a29f06"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ABD9EBEE0\",\r\n \"lastModified\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:53.2974032Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c0928fbb-9c47-4a37-9aca-134a1584c3c2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8f19d5c6-55b7-47c4-85fd-037f28a29f06"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ABD9EBEE0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8f19d5c6-55b7-47c4-85fd-037f28a29f06"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ABD9EBEE0\",\r\n \"lastModified\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:53.2974032Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c0928fbb-9c47-4a37-9aca-134a1584c3c2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8f19d5c6-55b7-47c4-85fd-037f28a29f06"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ABD9EBEE0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8f19d5c6-55b7-47c4-85fd-037f28a29f06"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ABD9EBEE0\",\r\n \"lastModified\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:53.2974032Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c0928fbb-9c47-4a37-9aca-134a1584c3c2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8f19d5c6-55b7-47c4-85fd-037f28a29f06"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ABD9EBEE0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8669fe2-ee40-425f-af28-ccc10953c804"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ABD9EBEE0\",\r\n \"lastModified\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:53.2974032Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:50.8145888Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:50 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "7265ec85-cc8b-4868-bc7b-807fed8e8018"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8669fe2-ee40-425f-af28-ccc10953c804"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ABD9EBEE0"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "9edc2287-c321-4d59-afed-cb44c0312c9b"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:57 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:57 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "bea3212c-cf6c-456c-bb76-ff545144085b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "9edc2287-c321-4d59-afed-cb44c0312c9b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AC158CD75"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "9edc2287-c321-4d59-afed-cb44c0312c9b"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:57 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:57 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "bea3212c-cf6c-456c-bb76-ff545144085b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "9edc2287-c321-4d59-afed-cb44c0312c9b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AC158CD75"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "80098300-f801-4764-a9c8-1a67da0a7a44"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:57 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AC158CD75\",\r\n \"lastModified\": \"2015-08-05T00:13:57.0670965Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:57.0670965Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6fe12755-4b88-4c38-a316-8ee8318256a3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "80098300-f801-4764-a9c8-1a67da0a7a44"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "80098300-f801-4764-a9c8-1a67da0a7a44"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:57 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AC158CD75\",\r\n \"lastModified\": \"2015-08-05T00:13:57.0670965Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:57.0670965Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6fe12755-4b88-4c38-a316-8ee8318256a3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "80098300-f801-4764-a9c8-1a67da0a7a44"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "80098300-f801-4764-a9c8-1a67da0a7a44"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:57 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AC158CD75\",\r\n \"lastModified\": \"2015-08-05T00:13:57.0670965Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:57.0670965Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6fe12755-4b88-4c38-a316-8ee8318256a3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "80098300-f801-4764-a9c8-1a67da0a7a44"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:56 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDisableAutoScaleByPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDisableAutoScaleByPipeline.json
new file mode 100644
index 000000000000..b34b409e94d2
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestDisableAutoScaleByPipeline.json
@@ -0,0 +1,1206 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-request-id": [
+ "5dd73b4b-a9ce-46db-8e80-6bbf2f14ddd8"
+ ],
+ "x-ms-correlation-request-id": [
+ "5dd73b4b-a9ce-46db-8e80-6bbf2f14ddd8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001322Z:5dd73b4b-a9ce-46db-8e80-6bbf2f14ddd8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:22 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14985"
+ ],
+ "x-ms-request-id": [
+ "a67fbda7-d170-4fe2-af0e-1e742788362a"
+ ],
+ "x-ms-correlation-request-id": [
+ "a67fbda7-d170-4fe2-af0e-1e742788362a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001330Z:a67fbda7-d170-4fe2-af0e-1e742788362a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "08d188cd-2912-4617-9595-a55953eaea9f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-request-id": [
+ "0dae6549-02cf-4130-a06b-b3b1820a34d4"
+ ],
+ "x-ms-correlation-request-id": [
+ "0dae6549-02cf-4130-a06b-b3b1820a34d4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001324Z:0dae6549-02cf-4130-a06b-b3b1820a34d4"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:23 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADC453AC"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "f7ec1488-9a69-44ea-aedf-3cce8f6703e2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-request-id": [
+ "989b454c-a375-467b-b192-5082ec79deed"
+ ],
+ "x-ms-correlation-request-id": [
+ "989b454c-a375-467b-b192-5082ec79deed"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001330Z:989b454c-a375-467b-b192-5082ec79deed"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AB19230B7"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "a7e7a6f6-28e5-4c81-9b29-b0675f1a1afb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "70f218b8-1b7c-4e71-bb65-683ff8957168"
+ ],
+ "x-ms-correlation-request-id": [
+ "70f218b8-1b7c-4e71-bb65-683ff8957168"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001324Z:70f218b8-1b7c-4e71-bb65-683ff8957168"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:23 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "fd49c40c-5720-46d6-b889-91452536bde8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-request-id": [
+ "8ea8d78c-50a3-417c-8729-59e24f6adfb3"
+ ],
+ "x-ms-correlation-request-id": [
+ "8ea8d78c-50a3-417c-8729-59e24f6adfb3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001330Z:8ea8d78c-50a3-417c-8729-59e24f6adfb3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:29 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "f2ae1e79-2bbd-49b8-b671-1e6561cbdae9"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "de049b5d-39f0-4ed0-b42c-721fbdb71493"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "f2ae1e79-2bbd-49b8-b671-1e6561cbdae9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b08e422-a6d7-4497-aecf-126e07e1b55e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AADF2CFF9\",\r\n \"lastModified\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "95cac2b2-af9c-40d9-a6ba-aed1f65d645a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b08e422-a6d7-4497-aecf-126e07e1b55e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b08e422-a6d7-4497-aecf-126e07e1b55e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AADF2CFF9\",\r\n \"lastModified\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "95cac2b2-af9c-40d9-a6ba-aed1f65d645a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b08e422-a6d7-4497-aecf-126e07e1b55e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "93c33d6f-e7af-4f77-8641-c3246035e12b"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:29 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AADF2CFF9\",\r\n \"lastModified\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:26.7400256Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "38a946a0-7a35-4812-8317-d7b53cd6dc54"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "93c33d6f-e7af-4f77-8641-c3246035e12b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "93c33d6f-e7af-4f77-8641-c3246035e12b"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:29 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AADF2CFF9\",\r\n \"lastModified\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:26.7400256Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "38a946a0-7a35-4812-8317-d7b53cd6dc54"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "93c33d6f-e7af-4f77-8641-c3246035e12b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "93c33d6f-e7af-4f77-8641-c3246035e12b"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:29 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AADF2CFF9\",\r\n \"lastModified\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:26.7400256Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "38a946a0-7a35-4812-8317-d7b53cd6dc54"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "93c33d6f-e7af-4f77-8641-c3246035e12b"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "da60c4c1-5cea-4a7e-9efb-7d065089b4a5"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AADF2CFF9\",\r\n \"lastModified\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:26.7400256Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b2b81a23-1aff-4146-8b81-fb5eb461620f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "da60c4c1-5cea-4a7e-9efb-7d065089b4a5"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8bae358c-f510-4b5a-9bc4-158b16b0b5e5"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AADF2CFF9\",\r\n \"lastModified\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:26.7400256Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "de464201-36c1-4ca3-a645-8b7d9c21bbbe"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8bae358c-f510-4b5a-9bc4-158b16b0b5e5"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8bae358c-f510-4b5a-9bc4-158b16b0b5e5"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AADF2CFF9\",\r\n \"lastModified\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:26.7400256Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:24.5219833Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:24 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "de464201-36c1-4ca3-a645-8b7d9c21bbbe"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8bae358c-f510-4b5a-9bc4-158b16b0b5e5"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AADF2CFF9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "eb25e977-f24f-4382-94ee-ed94a882d69f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "a22420c2-d19e-444c-af27-3a823af6107b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "eb25e977-f24f-4382-94ee-ed94a882d69f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AB1BD982B"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "eb25e977-f24f-4382-94ee-ed94a882d69f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "a22420c2-d19e-444c-af27-3a823af6107b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "eb25e977-f24f-4382-94ee-ed94a882d69f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AB1BD982B"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "eb25e977-f24f-4382-94ee-ed94a882d69f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "a22420c2-d19e-444c-af27-3a823af6107b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "eb25e977-f24f-4382-94ee-ed94a882d69f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AB1BD982B"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b67372b-34f8-4f8a-a615-0d513c65774f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:31 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AB1BD982B\",\r\n \"lastModified\": \"2015-08-05T00:13:30.8841003Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:30.8841003Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "ad2c81cb-2c02-418a-9db5-562d397d684a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b67372b-34f8-4f8a-a615-0d513c65774f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b67372b-34f8-4f8a-a615-0d513c65774f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:31 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AB1BD982B\",\r\n \"lastModified\": \"2015-08-05T00:13:30.8841003Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:30.8841003Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "ad2c81cb-2c02-418a-9db5-562d397d684a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b67372b-34f8-4f8a-a615-0d513c65774f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b67372b-34f8-4f8a-a615-0d513c65774f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:31 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AB1BD982B\",\r\n \"lastModified\": \"2015-08-05T00:13:30.8841003Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:30.8841003Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "ad2c81cb-2c02-418a-9db5-562d397d684a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b67372b-34f8-4f8a-a615-0d513c65774f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3b67372b-34f8-4f8a-a615-0d513c65774f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:31 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AB1BD982B\",\r\n \"lastModified\": \"2015-08-05T00:13:30.8841003Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:30.8841003Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "ad2c81cb-2c02-418a-9db5-562d397d684a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3b67372b-34f8-4f8a-a615-0d513c65774f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:30 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEnableAutoScaleById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEnableAutoScaleById.json
new file mode 100644
index 000000000000..a2e02bb3bd08
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEnableAutoScaleById.json
@@ -0,0 +1,998 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14983"
+ ],
+ "x-ms-request-id": [
+ "2284d471-bfb1-4b06-9b0e-7a098d198ee3"
+ ],
+ "x-ms-correlation-request-id": [
+ "2284d471-bfb1-4b06-9b0e-7a098d198ee3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001414Z:2284d471-bfb1-4b06-9b0e-7a098d198ee3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:14 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14982"
+ ],
+ "x-ms-request-id": [
+ "bff8b22d-4306-43f6-93ac-1ae9857823b0"
+ ],
+ "x-ms-correlation-request-id": [
+ "bff8b22d-4306-43f6-93ac-1ae9857823b0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001416Z:bff8b22d-4306-43f6-93ac-1ae9857823b0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "0e40dbcf-31bf-4b96-a715-fe92d53e26aa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14975"
+ ],
+ "x-ms-request-id": [
+ "969f2b2c-91c1-432c-ae82-0002c16e41bc"
+ ],
+ "x-ms-correlation-request-id": [
+ "969f2b2c-91c1-432c-ae82-0002c16e41bc"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001415Z:969f2b2c-91c1-432c-ae82-0002c16e41bc"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:14 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACD3E4846"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "eb4e5d89-f4a8-425e-bab9-8b7c3f0eb279"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14974"
+ ],
+ "x-ms-request-id": [
+ "1e7c2d66-959a-48e5-93de-c4637d7725bb"
+ ],
+ "x-ms-correlation-request-id": [
+ "1e7c2d66-959a-48e5-93de-c4637d7725bb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001416Z:1e7c2d66-959a-48e5-93de-c4637d7725bb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACDD53B1B"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "2707c0a5-7f04-4111-a014-a5660275d24d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1185"
+ ],
+ "x-ms-request-id": [
+ "c49bb6fe-ea58-4c8f-8faf-0f21fdd41523"
+ ],
+ "x-ms-correlation-request-id": [
+ "c49bb6fe-ea58-4c8f-8faf-0f21fdd41523"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001415Z:c49bb6fe-ea58-4c8f-8faf-0f21fdd41523"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:14 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "77d8b375-7cc1-46e8-b5c5-409db6ccb0a3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1184"
+ ],
+ "x-ms-request-id": [
+ "92ec97cb-6d1c-4826-954f-02b845d0704e"
+ ],
+ "x-ms-correlation-request-id": [
+ "92ec97cb-6d1c-4826-954f-02b845d0704e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001417Z:92ec97cb-6d1c-4826-954f-02b845d0704e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:16 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "1b9a3775-354e-4370-b789-f761f0da8b07"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "eb613c73-4e1b-45c1-b8b7-6d868812f7aa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "1b9a3775-354e-4370-b789-f761f0da8b07"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACC5CE27D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7cbe7b55-b29c-4914-8184-dcf23bb29384"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6d650187-59b0-4c37-8c2f-e1fcbd105447"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7cbe7b55-b29c-4914-8184-dcf23bb29384"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:18 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACDD1D523"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7cbe7b55-b29c-4914-8184-dcf23bb29384"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6d650187-59b0-4c37-8c2f-e1fcbd105447"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7cbe7b55-b29c-4914-8184-dcf23bb29384"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:18 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACDD1D523"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "7cbe7b55-b29c-4914-8184-dcf23bb29384"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:18 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6d650187-59b0-4c37-8c2f-e1fcbd105447"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "7cbe7b55-b29c-4914-8184-dcf23bb29384"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:18 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACDD1D523"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "ed72cb63-d6f3-4396-8beb-4c59fbc5b1db"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ACC5CE27D\",\r\n \"lastModified\": \"2015-08-05T00:14:15.5487869Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:58.2877169Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d5937854-e868-4cf6-9337-a0e5c52af671"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "ed72cb63-d6f3-4396-8beb-4c59fbc5b1db"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACC5CE27D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "ed72cb63-d6f3-4396-8beb-4c59fbc5b1db"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ACC5CE27D\",\r\n \"lastModified\": \"2015-08-05T00:14:15.5487869Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:58.2877169Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d5937854-e868-4cf6-9337-a0e5c52af671"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "ed72cb63-d6f3-4396-8beb-4c59fbc5b1db"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACC5CE27D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "27524467-e9b7-4657-b1d3-94fe9e6c4759"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ACC5CE27D\",\r\n \"lastModified\": \"2015-08-05T00:14:15.5487869Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:58.2877169Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:15 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "2f96f522-87a0-4bfa-bac2-b084fba8c009"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "27524467-e9b7-4657-b1d3-94fe9e6c4759"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACC5CE27D"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "2020e76e-1195-4de7-b028-5d91bf3304b2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "3ce789ce-df4a-47ea-8724-9c2558a8af8a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "2020e76e-1195-4de7-b028-5d91bf3304b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACDA4274C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "2020e76e-1195-4de7-b028-5d91bf3304b2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "3ce789ce-df4a-47ea-8724-9c2558a8af8a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "2020e76e-1195-4de7-b028-5d91bf3304b2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2ACDA4274C"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "78ad6abb-dcd0-4582-82d1-3d25c7ef9741"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ACDA4274C\",\r\n \"lastModified\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e160146e-55ca-46ae-82ab-3bd901372519"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "78ad6abb-dcd0-4582-82d1-3d25c7ef9741"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "78ad6abb-dcd0-4582-82d1-3d25c7ef9741"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ACDA4274C\",\r\n \"lastModified\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e160146e-55ca-46ae-82ab-3bd901372519"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "78ad6abb-dcd0-4582-82d1-3d25c7ef9741"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "78ad6abb-dcd0-4582-82d1-3d25c7ef9741"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2ACDA4274C\",\r\n \"lastModified\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:14:17.6935756Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e160146e-55ca-46ae-82ab-3bd901372519"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "78ad6abb-dcd0-4582-82d1-3d25c7ef9741"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:14:17 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEnableAutoScaleByPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEnableAutoScaleByPipeline.json
new file mode 100644
index 000000000000..80f8af1daaa5
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEnableAutoScaleByPipeline.json
@@ -0,0 +1,1218 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14987"
+ ],
+ "x-ms-request-id": [
+ "d6bbfc50-cac0-4538-901f-ac90df4137b6"
+ ],
+ "x-ms-correlation-request-id": [
+ "d6bbfc50-cac0-4538-901f-ac90df4137b6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001300Z:d6bbfc50-cac0-4538-901f-ac90df4137b6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:12:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14986"
+ ],
+ "x-ms-request-id": [
+ "e795c884-6c4f-4332-9144-8c3b7b7667de"
+ ],
+ "x-ms-correlation-request-id": [
+ "e795c884-6c4f-4332-9144-8c3b7b7667de"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001303Z:e795c884-6c4f-4332-9144-8c3b7b7667de"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "56bc7847-1ef9-4f6e-ba62-e6316839733f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14979"
+ ],
+ "x-ms-request-id": [
+ "56451544-5d27-4a83-b831-abc0dcf0810c"
+ ],
+ "x-ms-correlation-request-id": [
+ "56451544-5d27-4a83-b831-abc0dcf0810c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001301Z:56451544-5d27-4a83-b831-abc0dcf0810c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:01 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA144C87F"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:05 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "60021889-0ff5-42c9-a18d-1fd5b4c5cf64"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14978"
+ ],
+ "x-ms-request-id": [
+ "de1e4fb7-1af1-4958-9fce-dbd7fc2e3e99"
+ ],
+ "x-ms-correlation-request-id": [
+ "de1e4fb7-1af1-4958-9fce-dbd7fc2e3e99"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001303Z:de1e4fb7-1af1-4958-9fce-dbd7fc2e3e99"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:03 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA2AC9C87"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "7184322f-855c-419c-8bb0-0658c699a401"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1189"
+ ],
+ "x-ms-request-id": [
+ "2d49ccb3-9de1-4810-8c6d-e66a571e228b"
+ ],
+ "x-ms-correlation-request-id": [
+ "2d49ccb3-9de1-4810-8c6d-e66a571e228b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001301Z:2d49ccb3-9de1-4810-8c6d-e66a571e228b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:01 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "be43ee84-6c97-4a18-8a52-fcab45de9931"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1188"
+ ],
+ "x-ms-request-id": [
+ "fa87fad6-f981-491b-b27b-218741e62f8f"
+ ],
+ "x-ms-correlation-request-id": [
+ "fa87fad6-f981-491b-b27b-218741e62f8f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T001303Z:fa87fad6-f981-491b-b27b-218741e62f8f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:03 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "ac5341ab-5d9a-4627-b700-db6bb4fe34d5"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:01 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "eb926197-4d9b-4500-bef7-efa237b01b38"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "ac5341ab-5d9a-4627-b700-db6bb4fe34d5"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA0FBBA81"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "e21b9b63-3c53-46d0-b13e-21870262cad3"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "51ac71bb-9296-4655-80b7-b5f842fff6cf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "e21b9b63-3c53-46d0-b13e-21870262cad3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA22C790B"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "e21b9b63-3c53-46d0-b13e-21870262cad3"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "51ac71bb-9296-4655-80b7-b5f842fff6cf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "e21b9b63-3c53-46d0-b13e-21870262cad3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA22C790B"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "e21b9b63-3c53-46d0-b13e-21870262cad3"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "51ac71bb-9296-4655-80b7-b5f842fff6cf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "e21b9b63-3c53-46d0-b13e-21870262cad3"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA22C790B"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "2d5e259c-c5e5-46b1-a3b2-00bf8d5bc68e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:03 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA0FBBA81\",\r\n \"lastModified\": \"2015-08-05T00:13:02.7700353Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:12:31.1090408Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d3470831-4dfc-4d09-aee5-6f834d73d9d8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "2d5e259c-c5e5-46b1-a3b2-00bf8d5bc68e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA0FBBA81"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "2d5e259c-c5e5-46b1-a3b2-00bf8d5bc68e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:03 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA0FBBA81\",\r\n \"lastModified\": \"2015-08-05T00:13:02.7700353Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:12:31.1090408Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "d3470831-4dfc-4d09-aee5-6f834d73d9d8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "2d5e259c-c5e5-46b1-a3b2-00bf8d5bc68e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA0FBBA81"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "e80b3e8a-9f8d-4df3-aab6-c5cf0741609c"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA0FBBA81\",\r\n \"lastModified\": \"2015-08-05T00:13:02.7700353Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:12:31.1090408Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "9e18749b-78fa-47ff-a432-20948204057c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "e80b3e8a-9f8d-4df3-aab6-c5cf0741609c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:03 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA0FBBA81"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "cbd6de52-f14d-43be-be9c-66eaff6b0439"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA0FBBA81\",\r\n \"lastModified\": \"2015-08-05T00:13:02.7700353Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:12:31.1090408Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6dc8f5b6-bbf2-4955-8d11-1c385bce5558"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "cbd6de52-f14d-43be-be9c-66eaff6b0439"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:03 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA0FBBA81"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "cbd6de52-f14d-43be-be9c-66eaff6b0439"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA0FBBA81\",\r\n \"lastModified\": \"2015-08-05T00:13:02.7700353Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:12:31.1090408Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT2M\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": false,\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:02 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6dc8f5b6-bbf2-4955-8d11-1c385bce5558"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "cbd6de52-f14d-43be-be9c-66eaff6b0439"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:03 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA0FBBA81"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "931b7e50-9419-4e99-8d65-36429d42a821"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e1d58bf6-ac99-452d-ae21-5c8d3d09cd7f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "931b7e50-9419-4e99-8d65-36429d42a821"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA1FA04A5"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "931b7e50-9419-4e99-8d65-36429d42a821"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e1d58bf6-ac99-452d-ae21-5c8d3d09cd7f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "931b7e50-9419-4e99-8d65-36429d42a821"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA1FA04A5"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "931b7e50-9419-4e99-8d65-36429d42a821"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e1d58bf6-ac99-452d-ae21-5c8d3d09cd7f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "931b7e50-9419-4e99-8d65-36429d42a821"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2AA1FA04A5"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8c289714-181f-4be0-b2b1-8535cea909de"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA1FA04A5\",\r\n \"lastModified\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4fa99935-d253-46fe-97ea-e64cb508678f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8c289714-181f-4be0-b2b1-8535cea909de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8c289714-181f-4be0-b2b1-8535cea909de"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA1FA04A5\",\r\n \"lastModified\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4fa99935-d253-46fe-97ea-e64cb508678f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8c289714-181f-4be0-b2b1-8535cea909de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8c289714-181f-4be0-b2b1-8535cea909de"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA1FA04A5\",\r\n \"lastModified\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4fa99935-d253-46fe-97ea-e64cb508678f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8c289714-181f-4be0-b2b1-8535cea909de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools?$filter=id%20eq%20'testPool'&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzPyRmaWx0ZXI9aWQlMjBlcSUyMCUyN3Rlc3RQb29sJTI3JmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "8c289714-181f-4be0-b2b1-8535cea909de"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2AA1FA04A5\",\r\n \"lastModified\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:13:04.4365477Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4fa99935-d253-46fe-97ea-e64cb508678f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "8c289714-181f-4be0-b2b1-8535cea909de"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:13:04 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEvaluateAutoScaleById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEvaluateAutoScaleById.json
new file mode 100644
index 000000000000..545754452dc0
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEvaluateAutoScaleById.json
@@ -0,0 +1,3546 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14997"
+ ],
+ "x-ms-request-id": [
+ "72b4cc5d-088e-490c-85fd-ee4a0fff2e0c"
+ ],
+ "x-ms-correlation-request-id": [
+ "72b4cc5d-088e-490c-85fd-ee4a0fff2e0c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000057Z:72b4cc5d-088e-490c-85fd-ee4a0fff2e0c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:00:57 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14996"
+ ],
+ "x-ms-request-id": [
+ "3cb562fb-90a1-4470-a67d-db68a03ee7e5"
+ ],
+ "x-ms-correlation-request-id": [
+ "3cb562fb-90a1-4470-a67d-db68a03ee7e5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000136Z:3cb562fb-90a1-4470-a67d-db68a03ee7e5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "31bff09e-7363-4054-af36-56dcf9accc14"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-request-id": [
+ "c8aac525-7858-46ff-b760-265d3bf892c6"
+ ],
+ "x-ms-correlation-request-id": [
+ "c8aac525-7858-46ff-b760-265d3bf892c6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000058Z:c8aac525-7858-46ff-b760-265d3bf892c6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:00:58 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1B5ED96"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:36 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "07d2327b-6b6f-470a-9f7f-b051f5ce9419"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14992"
+ ],
+ "x-ms-request-id": [
+ "f701a17e-33d8-4583-89f9-ffcfc80fd3d0"
+ ],
+ "x-ms-correlation-request-id": [
+ "f701a17e-33d8-4583-89f9-ffcfc80fd3d0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000136Z:f701a17e-33d8-4583-89f9-ffcfc80fd3d0"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908222BB2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "8ab80273-4877-4b15-9c42-42f574e33e86"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "463a762f-c8fe-4a84-8a19-fbf35f139d0d"
+ ],
+ "x-ms-correlation-request-id": [
+ "463a762f-c8fe-4a84-8a19-fbf35f139d0d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000059Z:463a762f-c8fe-4a84-8a19-fbf35f139d0d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:00:58 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "eb16783c-42a8-4c4d-aed8-613d8ebca311"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "e0b06b9a-633b-4823-a8da-8459219e5eb1"
+ ],
+ "x-ms-correlation-request-id": [
+ "e0b06b9a-633b-4823-a8da-8459219e5eb1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000137Z:e0b06b9a-633b-4823-a8da-8459219e5eb1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:36 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "58ad0e22-b24c-4083-87b9-0e5eaf817d6e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c0d25c00-7794-4289-9870-33b9e13fe16e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "58ad0e22-b24c-4083-87b9-0e5eaf817d6e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "c703b10f-b872-44dd-b72e-a9085274e739"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c0502934-702c-44ce-8ba9-7fa972a6fb34"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c703b10f-b872-44dd-b72e-a9085274e739"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "c703b10f-b872-44dd-b72e-a9085274e739"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "c0502934-702c-44ce-8ba9-7fa972a6fb34"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c703b10f-b872-44dd-b72e-a9085274e739"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "810b7055-5356-4f8e-b9d2-625b52c2f30e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:05 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5d7b90c0-5de5-46e2-a5ff-1bb758e58d5e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "810b7055-5356-4f8e-b9d2-625b52c2f30e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:05 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "810b7055-5356-4f8e-b9d2-625b52c2f30e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:05 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5d7b90c0-5de5-46e2-a5ff-1bb758e58d5e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "810b7055-5356-4f8e-b9d2-625b52c2f30e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:05 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "810b7055-5356-4f8e-b9d2-625b52c2f30e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:05 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5d7b90c0-5de5-46e2-a5ff-1bb758e58d5e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "810b7055-5356-4f8e-b9d2-625b52c2f30e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:05 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4d51e957-6bfc-4d72-9a36-dc31dfa014a4"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:10 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6bb94c0e-3a1f-4dad-bf2b-9b95d8785466"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4d51e957-6bfc-4d72-9a36-dc31dfa014a4"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:10 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4d51e957-6bfc-4d72-9a36-dc31dfa014a4"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:10 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6bb94c0e-3a1f-4dad-bf2b-9b95d8785466"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4d51e957-6bfc-4d72-9a36-dc31dfa014a4"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:10 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4d51e957-6bfc-4d72-9a36-dc31dfa014a4"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:10 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6bb94c0e-3a1f-4dad-bf2b-9b95d8785466"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4d51e957-6bfc-4d72-9a36-dc31dfa014a4"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:10 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4d51e957-6bfc-4d72-9a36-dc31dfa014a4"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:10 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "6bb94c0e-3a1f-4dad-bf2b-9b95d8785466"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4d51e957-6bfc-4d72-9a36-dc31dfa014a4"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:10 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "0f115d89-154c-4a34-8817-c1fcef578d68"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "0f115d89-154c-4a34-8817-c1fcef578d68"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "0f115d89-154c-4a34-8817-c1fcef578d68"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "0f115d89-154c-4a34-8817-c1fcef578d68"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "0f115d89-154c-4a34-8817-c1fcef578d68"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "47f94625-4a69-4c15-8ba5-f3dfa4cfe5a9"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:15 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b3daf0cd-e95a-40de-9088-baf45bca2fca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b3daf0cd-e95a-40de-9088-baf45bca2fca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b3daf0cd-e95a-40de-9088-baf45bca2fca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b3daf0cd-e95a-40de-9088-baf45bca2fca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b3daf0cd-e95a-40de-9088-baf45bca2fca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b3daf0cd-e95a-40de-9088-baf45bca2fca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c880532c-2385-45e4-808b-28d7e2c2fe9e"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:20 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "11a98e4e-6050-40da-9138-dd5be76a04b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "11a98e4e-6050-40da-9138-dd5be76a04b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "11a98e4e-6050-40da-9138-dd5be76a04b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "11a98e4e-6050-40da-9138-dd5be76a04b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "11a98e4e-6050-40da-9138-dd5be76a04b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "11a98e4e-6050-40da-9138-dd5be76a04b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "11a98e4e-6050-40da-9138-dd5be76a04b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "3ec0b5e9-39d4-4ab5-a4b3-327355d06f9a"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:25 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4e6bd10c-d8f8-4a1b-84e3-fb336a523f4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4e6bd10c-d8f8-4a1b-84e3-fb336a523f4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4e6bd10c-d8f8-4a1b-84e3-fb336a523f4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4e6bd10c-d8f8-4a1b-84e3-fb336a523f4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4e6bd10c-d8f8-4a1b-84e3-fb336a523f4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4e6bd10c-d8f8-4a1b-84e3-fb336a523f4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4e6bd10c-d8f8-4a1b-84e3-fb336a523f4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:30 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:00:59.653851Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "4e6bd10c-d8f8-4a1b-84e3-fb336a523f4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "4b41ae7e-eefd-411d-9f1b-e02a6ce0568f"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:29 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e18e6bb6-4eb1-42d0-948a-1b8ac4046481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "0dccb6ab-3023-46d2-9a1e-268347d4f2f2"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:35 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "aff0b984-6f1c-45fe-a96f-9e82c5f73a32"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:37 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D28F1F8F48E\",\r\n \"lastModified\": \"2015-08-05T00:00:59.653851Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:01:33.8848521Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:00:59.653851Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:00:59 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "b0c38a7b-6e88-40ff-ab6b-41d83e31938f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "aff0b984-6f1c-45fe-a96f-9e82c5f73a32"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:37 GMT"
+ ],
+ "ETag": [
+ "0x8D29D28F1F8F48E"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?evaluateautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2V2YWx1YXRlYXV0b3NjYWxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "c2044383-3d3e-460f-a358-da5935f1d2df"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:37 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\r\n \"timestamp\": \"2015-08-05T00:01:38.0921198Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "53c71b24-0fc8-4b63-a1ef-d83ae3507652"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c2044383-3d3e-460f-a358-da5935f1d2df"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?evaluateautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2V2YWx1YXRlYXV0b3NjYWxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "c2044383-3d3e-460f-a358-da5935f1d2df"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:37 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\r\n \"timestamp\": \"2015-08-05T00:01:38.0921198Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "53c71b24-0fc8-4b63-a1ef-d83ae3507652"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "c2044383-3d3e-460f-a358-da5935f1d2df"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:37 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "441de403-d5cf-4cfe-9e0e-02f1c713aba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d8bdec85-2c3f-407a-8a37-5a957bf4ee45"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:01:38 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2908DEB6FE"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEvaluateAutoScaleByPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEvaluateAutoScaleByPipeline.json
new file mode 100644
index 000000000000..85be1a234238
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestEvaluateAutoScaleByPipeline.json
@@ -0,0 +1,1239 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14994"
+ ],
+ "x-ms-request-id": [
+ "0b12d30d-13ec-4172-8e2e-08f9b9388480"
+ ],
+ "x-ms-correlation-request-id": [
+ "0b12d30d-13ec-4172-8e2e-08f9b9388480"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000339Z:0b12d30d-13ec-4172-8e2e-08f9b9388480"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"name\": \"pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14993"
+ ],
+ "x-ms-request-id": [
+ "91b3f239-c24a-4110-9642-4dd84fbd04d0"
+ ],
+ "x-ms-correlation-request-id": [
+ "91b3f239-c24a-4110-9642-4dd84fbd04d0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000346Z:91b3f239-c24a-4110-9642-4dd84fbd04d0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:45 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:41 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "5d8aeeba-c81f-4e53-9d33-fef881dd8956"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14991"
+ ],
+ "x-ms-request-id": [
+ "7bb27dc6-e698-4f55-8a21-eb655dfd44e2"
+ ],
+ "x-ms-correlation-request-id": [
+ "7bb27dc6-e698-4f55-8a21-eb655dfd44e2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000340Z:7bb27dc6-e698-4f55-8a21-eb655dfd44e2"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:39 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2952AB7335"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"pstests\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"pstests.eastus.batch.azure.com\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "821e9b3f-fb67-4922-a58c-241ffacd24ac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14990"
+ ],
+ "x-ms-request-id": [
+ "28abe33d-3bdc-4533-b810-1631bbaf8099"
+ ],
+ "x-ms-correlation-request-id": [
+ "28abe33d-3bdc-4533-b810-1631bbaf8099"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000346Z:28abe33d-3bdc-4533-b810-1631bbaf8099"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:45 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2956647968"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "fd0276c6-9b59-4876-bab7-1148c3a157ee"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "07d5ea6c-5d2e-4bcc-b888-b505ea2bcde6"
+ ],
+ "x-ms-correlation-request-id": [
+ "07d5ea6c-5d2e-4bcc-b888-b505ea2bcde6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000340Z:07d5ea6c-5d2e-4bcc-b888-b505ea2bcde6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-eastus/providers/Microsoft.Batch/batchAccounts/pstests/listKeys?api-version=2015-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL2RlZmF1bHQtYXp1cmViYXRjaC1lYXN0dXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3BzdGVzdHMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNS0wNy0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-07-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"accountName\": \"pstests\",\r\n \"primary\": \"LjcPYhLUNjgOzrdNciMQS1TZJUoKgOrqhNYv9pbKdNn6GHMBuYwyt9dEx6uSdjzPV4U1N8RFm1EjiakXhq2hng==\",\r\n \"secondary\": \"Y8oHFA4f8afHXYmqwcvL2Bigg+GkjKhDBBUGGAEkGVoj77rskty8DnAqaqMpntUwQK+yEAJWbgfvoho5AfcM+w==\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "229"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "request-id": [
+ "0411a747-c322-4cdb-9541-02634325c3e8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "cfd4cd67-9682-43d1-adcf-468d7a2c1502"
+ ],
+ "x-ms-correlation-request-id": [
+ "cfd4cd67-9682-43d1-adcf-468d7a2c1502"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20150805T000346Z:cfd4cd67-9682-43d1-adcf-468d7a2c1502"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?enableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2VuYWJsZWF1dG9zY2FsZSZhcGktdmVyc2lvbj0yMDE1LTA2LTAxLjIuMCZ0aW1lb3V0PTMw",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "b7b8a5ca-c507-47f2-b459-0a969be67954"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "80a52a6e-5e37-42f5-94dd-05c49e487bed"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "b7b8a5ca-c507-47f2-b459-0a969be67954"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:41 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d10be310-3dd6-42da-9a4c-7f69734c7f79"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2951DE0CE2\",\r\n \"lastModified\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "23f790cc-5be3-418b-9408-42713733a91a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d10be310-3dd6-42da-9a4c-7f69734c7f79"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:41 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "d10be310-3dd6-42da-9a4c-7f69734c7f79"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2951DE0CE2\",\r\n \"lastModified\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "23f790cc-5be3-418b-9408-42713733a91a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "d10be310-3dd6-42da-9a4c-7f69734c7f79"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:41 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "767f80cf-fc2e-411e-8a07-b2bc79958d27"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:45 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2951DE0CE2\",\r\n \"lastModified\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:03:43.0836299Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e3c4fb82-7d2e-422b-bf4d-e0b039930349"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "767f80cf-fc2e-411e-8a07-b2bc79958d27"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "767f80cf-fc2e-411e-8a07-b2bc79958d27"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:45 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2951DE0CE2\",\r\n \"lastModified\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:03:43.0836299Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e3c4fb82-7d2e-422b-bf4d-e0b039930349"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "767f80cf-fc2e-411e-8a07-b2bc79958d27"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "767f80cf-fc2e-411e-8a07-b2bc79958d27"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:45 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2951DE0CE2\",\r\n \"lastModified\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:03:43.0836299Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "e3c4fb82-7d2e-422b-bf4d-e0b039930349"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "767f80cf-fc2e-411e-8a07-b2bc79958d27"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "793bdd00-232e-4d93-b2a0-cfaad131b999"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2951DE0CE2\",\r\n \"lastModified\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:03:43.0836299Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5406dbbc-6641-4a5f-86fa-d0632d6fa66b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "793bdd00-232e-4d93-b2a0-cfaad131b999"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "6913ddb7-d076-459e-a028-4cf8e4c8609d"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2951DE0CE2\",\r\n \"lastModified\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:03:43.0836299Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "f7646ae9-83b0-48ee-a43f-52eff1e7cf26"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "6913ddb7-d076-459e-a028-4cf8e4c8609d"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "6913ddb7-d076-459e-a028-4cf8e4c8609d"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#pools/@Element\",\r\n \"id\": \"testPool\",\r\n \"url\": \"https://pstests.eastus.batch.azure.com/pools/testPool\",\r\n \"eTag\": \"0x8D29D2951DE0CE2\",\r\n \"lastModified\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"creationTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-08-04T23:51:53.6691508Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-08-05T00:03:43.0836299Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"vmSize\": \"small\",\r\n \"resizeTimeout\": \"PT1H\",\r\n \"currentDedicated\": 2,\r\n \"targetDedicated\": 2,\r\n \"enableAutoScale\": true,\r\n \"autoScaleFormula\": \"$TargetDedicated=2\",\r\n \"autoScaleRun\": {\r\n \"timestamp\": \"2015-08-05T00:03:40.5388002Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n },\r\n \"enableInterNodeCommunication\": false,\r\n \"startTask\": {\r\n \"commandLine\": \"cmd /c echo hello\",\r\n \"runElevated\": false,\r\n \"maxTaskRetryCount\": 0,\r\n \"waitForSuccess\": false\r\n },\r\n \"maxTasksPerNode\": 1,\r\n \"taskSchedulingPolicy\": {\r\n \"nodeFillType\": \"Spread\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:40 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "f7646ae9-83b0-48ee-a43f-52eff1e7cf26"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "6913ddb7-d076-459e-a028-4cf8e4c8609d"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2951DE0CE2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?evaluateautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2V2YWx1YXRlYXV0b3NjYWxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "50f527e4-8043-4152-94e2-42d33a3e9cf0"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\r\n \"timestamp\": \"2015-08-05T00:03:47.2419357Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "7f6b5237-c666-421c-b37f-e3b52c83b688"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "50f527e4-8043-4152-94e2-42d33a3e9cf0"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?evaluateautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2V2YWx1YXRlYXV0b3NjYWxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "50f527e4-8043-4152-94e2-42d33a3e9cf0"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\r\n \"timestamp\": \"2015-08-05T00:03:47.2419357Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "7f6b5237-c666-421c-b37f-e3b52c83b688"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "50f527e4-8043-4152-94e2-42d33a3e9cf0"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?evaluateautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2V2YWx1YXRlYXV0b3NjYWxlJmFwaS12ZXJzaW9uPTIwMTUtMDYtMDEuMi4wJnRpbWVvdXQ9MzA=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"autoScaleFormula\": \"$TargetDedicated=2\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "client-request-id": [
+ "50f527e4-8043-4152-94e2-42d33a3e9cf0"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:46 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"odata.metadata\": \"https://pstests.eastus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\r\n \"timestamp\": \"2015-08-05T00:03:47.2419357Z\",\r\n \"results\": \"$TargetDedicated=2;$NodeDeallocationOption=requeue\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; odata=minimalmetadata"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "7f6b5237-c666-421c-b37f-e3b52c83b688"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "50f527e4-8043-4152-94e2-42d33a3e9cf0"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "5512b9da-9440-4e50-b62b-60bce73a736c"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5b983335-7852-4c64-b532-0721b7532475"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "5512b9da-9440-4e50-b62b-60bce73a736c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2955CCE249"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "5512b9da-9440-4e50-b62b-60bce73a736c"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5b983335-7852-4c64-b532-0721b7532475"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "5512b9da-9440-4e50-b62b-60bce73a736c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2955CCE249"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "5512b9da-9440-4e50-b62b-60bce73a736c"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5b983335-7852-4c64-b532-0721b7532475"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "5512b9da-9440-4e50-b62b-60bce73a736c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2955CCE249"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/pools/testPool?disableautoscale&api-version=2015-06-01.2.0&timeout=30",
+ "EncodedRequestUri": "L3Bvb2xzL3Rlc3RQb29sP2Rpc2FibGVhdXRvc2NhbGUmYXBpLXZlcnNpb249MjAxNS0wNi0wMS4yLjAmdGltZW91dD0zMA==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "client-request-id": [
+ "5512b9da-9440-4e50-b62b-60bce73a736c"
+ ],
+ "ocp-date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "return-client-request-id": [
+ "true"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Batch.Protocol.BatchRestClient/2.0.1.0",
+ "AzBatch/2.0.1.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Last-Modified": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "request-id": [
+ "5b983335-7852-4c64-b532-0721b7532475"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "client-request-id": [
+ "5512b9da-9440-4e50-b62b-60bce73a736c"
+ ],
+ "DataServiceVersion": [
+ "3.0"
+ ],
+ "DataServiceId": [
+ "https://pstests.eastus.batch.azure.com/pools/testPool"
+ ],
+ "Date": [
+ "Wed, 05 Aug 2015 00:03:47 GMT"
+ ],
+ "ETag": [
+ "0x8D29D2955CCE249"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolById.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolById.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolById.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestNewPool.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestNewPool.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestNewPool.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestNewPool.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolById.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolById.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolById.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestResizePoolByPipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolById.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolById.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolById.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestStopResizePoolByPipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestCreateTask.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestCreateTask.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestCreateTask.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestCreateTask.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTask.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTask.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTask.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTask.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTaskPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTaskPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTaskPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestDeleteTaskPipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskById.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskById.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskById.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskById.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json b/src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Tasks/NewBatchTaskCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/NewBatchTaskCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Tasks/NewBatchTaskCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/NewBatchTaskCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Tasks/RemoveBatchTaskCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/RemoveBatchTaskCommandTests.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/Tasks/RemoveBatchTaskCommandTests.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/Tasks/RemoveBatchTaskCommandTests.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/about.txt b/src/ResourceManager/AzureBatch/Commands.Batch.Test/about.txt
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch.Test/about.txt
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/about.txt
diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config b/src/ResourceManager/AzureBatch/Commands.Batch.Test/packages.config
similarity index 98%
rename from src/ResourceManager/Batch/Commands.Batch.Test/packages.config
rename to src/ResourceManager/AzureBatch/Commands.Batch.Test/packages.config
index 97d6e7c7ea10..201b91e8be67 100644
--- a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/packages.config
@@ -8,7 +8,7 @@
-
+
diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Accounts/GetBatchAccountKeysCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/Helpers.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/Helpers.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Accounts/Helpers.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Accounts/Helpers.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Accounts/NewBatchAccountKeyCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Accounts/RemoveBatchAccountCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Accounts/SetBatchAccountCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Accounts/SetBatchAccountCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Accounts/SetBatchAccountCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Accounts/SetBatchAccountCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs b/src/ResourceManager/AzureBatch/Commands.Batch/BatchCmdletBase.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/BatchCmdletBase.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchManagementClient.Customization.cs b/src/ResourceManager/AzureBatch/Commands.Batch/BatchManagementClient.Customization.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/BatchManagementClient.Customization.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/BatchManagementClient.Customization.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchObjectModelCmdletBase.cs b/src/ResourceManager/AzureBatch/Commands.Batch/BatchObjectModelCmdletBase.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/BatchObjectModelCmdletBase.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/BatchObjectModelCmdletBase.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj
similarity index 94%
rename from src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj
rename to src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj
index 6c5261ffb99a..85a73eef86da 100644
--- a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj
@@ -19,7 +19,7 @@
true
full
false
- ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Batch\
+ ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureBatch\
TRACE;DEBUG;CODE_ANALYSIS
prompt
4
@@ -30,7 +30,7 @@
pdbonly
true
- ..\..\..\Package\Release\ResourceManager\AzureResourceManager\Batch\
+ ..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureBatch\
TRACE;SIGN
prompt
4
@@ -58,9 +58,8 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
-
- False
- ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.6-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
@@ -155,11 +154,18 @@
+
+
+
+
+
+
+
@@ -175,6 +181,7 @@
+
@@ -189,6 +196,8 @@
+
+
@@ -240,14 +249,20 @@
+
+
+
+
+
+
True
diff --git a/src/ResourceManager/Batch/Commands.Batch/ComputeNodeUsers/NewBatchComputeNodeUserCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodeUsers/NewBatchComputeNodeUserCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/ComputeNodeUsers/NewBatchComputeNodeUserCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodeUsers/NewBatchComputeNodeUserCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/ComputeNodeUsers/RemoveBatchComputeNodeUserCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodeUsers/RemoveBatchComputeNodeUserCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/ComputeNodeUsers/RemoveBatchComputeNodeUserCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodeUsers/RemoveBatchComputeNodeUserCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/ResetBatchComputeNodeCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/ResetBatchComputeNodeCommand.cs
new file mode 100644
index 000000000000..64e008d7c884
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/ResetBatchComputeNodeCommand.cs
@@ -0,0 +1,53 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Common;
+using Microsoft.Azure.Commands.Batch.Models;
+using System;
+using System.Management.Automation;
+using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants;
+
+namespace Microsoft.Azure.Commands.Batch
+{
+ [Cmdlet(VerbsCommon.Reset, Constants.AzureBatchComputeNode, DefaultParameterSetName = Constants.IdParameterSet)]
+ public class ResetBatchComputeNodeCommand : BatchObjectModelCmdletBase
+ {
+ [Parameter(Position = 0, ParameterSetName = Constants.IdParameterSet, Mandatory = true, HelpMessage = "The id of the pool that contains the compute node.")]
+ [ValidateNotNullOrEmpty]
+ public string PoolId { get; set; }
+
+ [Parameter(Position = 1, ParameterSetName = Constants.IdParameterSet, Mandatory = true, HelpMessage = "The id of the compute node to reimage.")]
+ [ValidateNotNullOrEmpty]
+ public string Id { get; set; }
+
+ [Parameter(Position = 0, ParameterSetName = Constants.InputObjectParameterSet, ValueFromPipeline = true)]
+ [ValidateNotNullOrEmpty]
+ public PSComputeNode ComputeNode { get; set; }
+
+ [Parameter]
+ [ValidateNotNullOrEmpty]
+ public ComputeNodeReimageOption? ReimageOption { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ ReimageComputeNodeParameters parameters = new ReimageComputeNodeParameters(this.BatchContext, this.PoolId,
+ this.Id, this.ComputeNode, this.AdditionalBehaviors)
+ {
+ ReimageOption = this.ReimageOption
+ };
+ BatchClient.ReimageComputeNode(parameters);
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/RestartBatchComputeNodeCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/RestartBatchComputeNodeCommand.cs
new file mode 100644
index 000000000000..0688865951b6
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/RestartBatchComputeNodeCommand.cs
@@ -0,0 +1,53 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Batch;
+using Microsoft.Azure.Batch.Common;
+using Microsoft.Azure.Commands.Batch.Models;
+using System;
+using System.Management.Automation;
+using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants;
+
+namespace Microsoft.Azure.Commands.Batch
+{
+ [Cmdlet(VerbsLifecycle.Restart, Constants.AzureBatchComputeNode, DefaultParameterSetName = Constants.IdParameterSet)]
+ public class RestartBatchComputeNodeCommand : BatchObjectModelCmdletBase
+ {
+ [Parameter(Position = 0, ParameterSetName = Constants.IdParameterSet, Mandatory = true, HelpMessage = "The id of the pool that contains the compute node.")]
+ [ValidateNotNullOrEmpty]
+ public string PoolId { get; set; }
+
+ [Parameter(Position = 1, ParameterSetName = Constants.IdParameterSet, Mandatory = true, HelpMessage = "The id of the compute node to reboot.")]
+ [ValidateNotNullOrEmpty]
+ public string Id { get; set; }
+
+ [Parameter(Position = 0, ParameterSetName = Constants.InputObjectParameterSet, ValueFromPipeline = true)]
+ [ValidateNotNullOrEmpty]
+ public PSComputeNode ComputeNode { get; set; }
+
+ [Parameter(Position = 2)]
+ [ValidateNotNullOrEmpty]
+ public ComputeNodeRebootOption? RebootOption { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ RebootComputeNodeParameters parameters = new RebootComputeNodeParameters(this.BatchContext, this.PoolId,
+ this.Id, this.ComputeNode, this.AdditionalBehaviors)
+ {
+ RebootOption = this.RebootOption
+ };
+ BatchClient.RebootComputeNode(parameters);
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch/Files/GetBatchNodeFileCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Files/GetBatchNodeFileCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Files/GetBatchNodeFileCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Files/GetBatchNodeFileCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Files/GetBatchNodeFileContentCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Files/GetBatchNodeFileContentCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Files/GetBatchNodeFileContentCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Files/GetBatchNodeFileContentCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Files/GetBatchRemoteDesktopProtocolFileCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Files/GetBatchRemoteDesktopProtocolFileCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Files/GetBatchRemoteDesktopProtocolFileCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Files/GetBatchRemoteDesktopProtocolFileCommand.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/DisableBatchJobScheduleCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/DisableBatchJobScheduleCommand.cs
new file mode 100644
index 000000000000..b4b44d2b0fb5
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/DisableBatchJobScheduleCommand.cs
@@ -0,0 +1,33 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants;
+
+namespace Microsoft.Azure.Commands.Batch
+{
+ [Cmdlet(VerbsLifecycle.Disable, Constants.AzureBatchJobSchedule)]
+ public class DisableBatchJobScheduleCommand : BatchObjectModelCmdletBase
+ {
+ [Parameter(Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "The id of the job schedule to disable.")]
+ [ValidateNotNullOrEmpty]
+ public string Id { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ BatchClient.DisableJobSchedule(this.BatchContext, this.Id, this.AdditionalBehaviors);
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/EnableBatchJobScheduleCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/EnableBatchJobScheduleCommand.cs
new file mode 100644
index 000000000000..e2b4298bd8ea
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/EnableBatchJobScheduleCommand.cs
@@ -0,0 +1,33 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants;
+
+namespace Microsoft.Azure.Commands.Batch
+{
+ [Cmdlet(VerbsLifecycle.Enable, Constants.AzureBatchJobSchedule)]
+ public class EnableBatchJobScheduleCommand : BatchObjectModelCmdletBase
+ {
+ [Parameter(Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "The id of the job schedule to enable.")]
+ [ValidateNotNullOrEmpty]
+ public string Id { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ BatchClient.EnableJobSchedule(this.BatchContext, this.Id, this.AdditionalBehaviors);
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch/JobSchedules/GetBatchJobScheduleCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/GetBatchJobScheduleCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/JobSchedules/GetBatchJobScheduleCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/GetBatchJobScheduleCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/JobSchedules/NewBatchJobScheduleCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/NewBatchJobScheduleCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/JobSchedules/NewBatchJobScheduleCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/NewBatchJobScheduleCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/JobSchedules/RemoveBatchJobScheduleCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/RemoveBatchJobScheduleCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/JobSchedules/RemoveBatchJobScheduleCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/JobSchedules/RemoveBatchJobScheduleCommand.cs
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/DisableBatchJobCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/DisableBatchJobCommand.cs
new file mode 100644
index 000000000000..f7b4b55e0dac
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/DisableBatchJobCommand.cs
@@ -0,0 +1,39 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using Microsoft.Azure.Batch.Common;
+using Microsoft.Azure.Commands.Batch.Models;
+using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants;
+
+namespace Microsoft.Azure.Commands.Batch
+{
+ [Cmdlet(VerbsLifecycle.Disable, Constants.AzureBatchJob)]
+ public class DisableBatchJobCommand : BatchObjectModelCmdletBase
+ {
+ [Parameter(Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "The id of the job to disable.")]
+ [ValidateNotNullOrEmpty]
+ public string Id { get; set; }
+
+ [Parameter(Position = 1, Mandatory = true, HelpMessage = "Specifies what to do with active tasks associated with the job.")]
+ public DisableJobOption DisableJobOption { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ DisableJobParameters parameters = new DisableJobParameters(this.BatchContext, this.Id, null, this.DisableJobOption, this.AdditionalBehaviors);
+ BatchClient.DisableJob(parameters);
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/EnableBatchJobCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/EnableBatchJobCommand.cs
new file mode 100644
index 000000000000..7f5ffe1ee6c7
--- /dev/null
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/EnableBatchJobCommand.cs
@@ -0,0 +1,33 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants;
+
+namespace Microsoft.Azure.Commands.Batch
+{
+ [Cmdlet(VerbsLifecycle.Enable, Constants.AzureBatchJob)]
+ public class EnableBatchJobCommand : BatchObjectModelCmdletBase
+ {
+ [Parameter(Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "The id of the job to enable.")]
+ [ValidateNotNullOrEmpty]
+ public string Id { get; set; }
+
+ public override void ExecuteCmdlet()
+ {
+ BatchClient.EnableJob(this.BatchContext, this.Id, this.AdditionalBehaviors);
+ }
+ }
+}
diff --git a/src/ResourceManager/Batch/Commands.Batch/Jobs/GetBatchJobCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/GetBatchJobCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Jobs/GetBatchJobCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Jobs/GetBatchJobCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Jobs/NewBatchJobCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/NewBatchJobCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Jobs/NewBatchJobCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Jobs/NewBatchJobCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/Jobs/RemoveBatchJobCommand.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Jobs/RemoveBatchJobCommand.cs
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/Jobs/RemoveBatchJobCommand.cs
rename to src/ResourceManager/AzureBatch/Commands.Batch/Jobs/RemoveBatchJobCommand.cs
diff --git a/src/ResourceManager/Batch/Commands.Batch/MSSharedLibKey.snk b/src/ResourceManager/AzureBatch/Commands.Batch/MSSharedLibKey.snk
similarity index 100%
rename from src/ResourceManager/Batch/Commands.Batch/MSSharedLibKey.snk
rename to src/ResourceManager/AzureBatch/Commands.Batch/MSSharedLibKey.snk
diff --git a/src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml b/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml
similarity index 57%
rename from src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml
rename to src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml
index 358ebf7a939b..d3b6ab87f9e2 100644
--- a/src/ResourceManager/Batch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml
+++ b/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml
@@ -5,7 +5,7 @@
Get-AzureBatchAccountKeys
- Gets the specified key of the specified Azure Batch accounts under the current subscription.
+ Gets the specified key of the specified Batch accounts under the current subscription.
@@ -30,7 +30,7 @@
Profile
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
@@ -59,7 +59,7 @@
Profile
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
@@ -137,7 +137,7 @@
- Azure Batch Cmdlets
+ RMAzure_Batch_Cmdlets
@@ -146,7 +146,7 @@
Get-AzureBatchAccount
- Gets an Azure Batch account under the current subscription.
+ Gets a Batch account under the current subscription.
@@ -185,7 +185,7 @@
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
@@ -207,7 +207,7 @@
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
@@ -278,19 +278,18 @@
- Example 1: Get a Batch account by name
+ Example 1: Get a batch account by name
-
- PS C:\>Get-AzureBatchAccount -AccountName "cmdletexample"
- AccountName Location ResourceGroupName Tags TaskTenantUrl
- ----------- -------- ----------------- ---- -------------
- cmdletexample westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com
-
+ PS C:\>Get-AzureBatchAccount -AccountName "pfuller"
+AccountName Location ResourceGroupName Tags TaskTenantUrl
+----------- -------- ----------------- ---- -------------
+pfuller westus CmdletExampleRG https://pfuller.westus.batch.azure.com
+
- This command gets the Batch account named cmdletexample.
+ This command gets the batch account named pfuller.
@@ -301,20 +300,19 @@
- Example 2: Gets the Batch accounts associated with a resource group
+ Example 2: Gets the batch accounts associated with a resource group
-
- PS C:\>Get-AzureBatchAccount -ResourceGroupName "CmdletExampleRG"
- AccountName Location ResourceGroupName Tags TaskTenantUrl
- ----------- -------- ----------------- ---- -------------
- cmdletexample westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com
- cmdletexample2 westus CmdletExampleRG https://cmdletexample2.westus.batch.azure.com
-
+ PS C:\>Get-AzureBatchAccount -ResourceGroupName "CmdletExampleRG"
+AccountName Location ResourceGroupName Tags TaskTenantUrl
+----------- -------- ----------------- ---- -------------
+cmdletexample westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com
+cmdletexample2 westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com
+
- This command gets the Batch accounts associated with the CmdletExampleRG resource group.
+ This command gets the batch accounts associated with the CmdletExampleRG resource group.
@@ -339,124 +337,131 @@
- Azure Batch Cmdlets
+ RMAzure_Batch_Cmdlets
- Get-AzureBatchJob
+ Get-AzureBatchComputeNode
- Gets Azure Batch jobs under the specified Batch account or job schedule.
+ Gets Batch compute nodes from a pool.
Get
- AzureBatchJob
+ AzureBatchComputeNode
- The Get-AzureBatchJob cmdlet gets the Azure Batch jobs under the Batch account specified by the BatchAccountContext parameter. You can use the Id parameter to get a single job, or you can use the Filter parameter to get the jobs that match an OData filter. If you supply a job schedule id or PSCloudJobSchedule instance, only the jobs under that job schedule will be returned.
+ The Get-AzureBatchComputeNode cmdlet gets Azure Batch compute nodes under a pool. Specify either the pool ID or pool object. Specify the Id parameter to get a single compute node. Specify the Filter parameter to get the compute nodes that match an OData filter.
- Get-AzureBatchJob
+ Get-AzureBatchComputeNode
Filter
- Specifies the OData filter clause to use when querying for jobs. If you do not specify a filter, and if you do not specify a job schedule, then all jobs under the Batch account will be returned. If not filter is specified, but a job schedule is specified, then all jobs under that job schedule will be returned.
+ Specifies an OData filter clause. This cmdlet returns compute nodes that match the filter that this parameter specifies. If you do not specify a filter, this cmdlet returns all compute nodes for the pool.
String
MaxCount
- Specifies the maximum number of jobs to return. If you specify a value of 0 or less, then no upper limit will be used. If you do not specify a value, a default value of 1000 will be used.
+ Specifies the maximum number of compute nodes to return. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
Int32
Profile
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
-
- JobScheduleId
+
+ PoolId
- Specifies the id of the job schedule which contains the jobs.
+ Specifies the ID of the pool that contains the compute nodes.
- String
+ String
- Get-AzureBatchJob
+ Get-AzureBatchComputeNode
+ PoolId
+
+ Specifies the ID of the pool that contains the compute nodes.
+
+ String
+
+
Id
- Specifies the id of the job. Wildcards are not permitted.
+ Specifies the ID of the compute node that this cmdlet gets from the pool. You cannot specify wildcard characters.
String
Profile
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
- Get-AzureBatchJob
+ Get-AzureBatchComputeNode
- JobSchedule
+ Pool
- Specifies the PSCloudJobSchedule object representing the job schedule which contains the jobs. Use the Get-AzureBatchJobSchedule cmdlet to get a PSCloudJobSchedule object.
+ Specifies the pool, as a PSCloudPool object, that contains the compute nodes. To obtain a PSCloudPool object, use the Get-AzureBatchPool cmdlet.
- PSCloudJobSchedule
+ PSCloudPool
Filter
- Specifies the OData filter clause to use when querying for jobs. If you do not specify a filter, and if not job schedule is specified, then all jobs under the Batch account will be returned. If not filter is specified, and if a job schedule is specified, then all jobs under that job schedule will be returned.
+ Specifies an OData filter clause. This cmdlet returns compute nodes that match the filter that this parameter specifies. If you do not specify a filter, this cmdlet returns all compute nodes for the pool.
String
MaxCount
- Specifies the maximum number of jobs to return. If you specify a value of 0 or less, then no upper limit will be used. If you do not specify a value, a default value of 1000 will be used.
+ Specifies the maximum number of compute nodes to return. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
Int32
Profile
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
@@ -466,7 +471,7 @@
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
@@ -478,7 +483,7 @@
Filter
- Specifies the OData filter clause to use when querying for jobs. If you do not specify a filter, and if not job schedule is specified, then all jobs under the Batch account will be returned. If not filter is specified, and if a job schedule is specified, then all jobs under that job schedule will be returned.
+ Specifies an OData filter clause. This cmdlet returns compute nodes that match the filter that this parameter specifies. If you do not specify a filter, this cmdlet returns all compute nodes for the pool.
String
@@ -487,62 +492,62 @@
none
-
- MaxCount
+
+ Id
- Specifies the maximum number of jobs to return. If you specify a value of 0 or less, then no upper limit will be used. If you do not specify a value, a default value of 1000 will be used.
+ Specifies the ID of the compute node that this cmdlet gets from the pool. You cannot specify wildcard characters.
- Int32
+ String
- Int32
+ String
none
-
- Id
+
+ MaxCount
- Specifies the id of the job. Wildcards are not permitted.
+ Specifies the maximum number of compute nodes to return. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
- String
+ Int32
- String
+ Int32
none
-
- Profile
+
+ Pool
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile.
+ Specifies the pool, as a PSCloudPool object, that contains the compute nodes. To obtain a PSCloudPool object, use the Get-AzureBatchPool cmdlet.
- AzureProfile
+ PSCloudPool
- AzureProfile
+ PSCloudPool
none
-
- JobSchedule
+
+ PoolId
- Specifies the PSCloudJobSchedule object representing the job schedule which contains the jobs. Use the Get-AzureBatchJobSchedule cmdlet to get a PSCloudJobSchedule object.
+ Specifies the ID of the pool that contains the compute nodes.
- PSCloudJobSchedule
+ String
- PSCloudJobSchedule
+ String
none
-
- JobScheduleId
+
+ Profile
- Specifies the id of the job schedule which contains the jobs.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
- String
+ AzureProfile
- String
+ AzureProfile
none
@@ -568,7 +573,7 @@
- PSCloudJob
+ PSComputeNode
@@ -585,37 +590,30 @@
- Example 1: Get a Batch job by id
+ Example 1: Get a compute node by ID
-
- PS C:\>Get-AzureBatchJob -Id "Job01" -BatchContext $Context
-
- CommonEnvironmentSettings :
- Constraints : Microsoft.Azure.Commands.Batch.Models.PSJobConstraints
- CreationTime : 7/25/2015 9:12:07 PM
- DisplayName :
- ETag : 0x8D29535B2941439
- ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobExecutionInformation
- Id : Job01
- JobManagerTask :
- JobPreparationTask :
- JobReleaseTask :
- LastModified : 7/25/2015 9:12:07 PM
- Metadata :
- PoolInformation : Microsoft.Azure.Commands.Batch.Models.PSPoolInformation
- PreviousState :
- PreviousStateTransitionTime :
- Priority : 0
- State : Active
- StateTransitionTime : 7/25/2015 9:12:07 PM
- Statistics :
- Url : https://cmdletexample.westus.batch.azure.com/jobs/Job01
-
+ PS C:\>Get-AzureBatchComputeNode -PoolId "Pool06" -Id "tvm-2316545714_1-20150725t213220z" -BatchContext $Context
+Id : tvm-2316545714_1-20150725t213220z
+Url : https://cmdletexample.westus.batch.azure.com/pools/MyPool/nodes/tvm-2316545714_1-20150725t213220z
+State : Idle
+StateTransitionTime : 7/25/2015 9:36:53 PM
+LastBootTime : 7/25/2015 9:36:53 PM
+AllocationTime : 7/25/2015 9:32:20 PM
+IPAddress : 10.14.121.1
+AffinityId : TVM:tvm-2316545714_1-20150725t213220z
+VirtualMachineSize : small
+TotalTasksRun : 1
+StartTaskInformation :
+RecentTasks : {}
+StartTask :
+CertificateReferences :
+Errors :
+
- This command gets the job with id Job01.
+ This command gets the compute node that has the ID tvm-2316545714_1-20150725t213220z from the pool that has the ID Pool06. Use the Get-AzureBatchAccountKeys cmdlet to assign a context to the $Context variable.
@@ -626,37 +624,46 @@
- Example 2: Get all active jobs under a specified job schedule
+ Example 2: Get all idle compute nodes from a pool
-
- PS C:\>Get-AzureBatchJob -JobScheduleId "MyJobSchedule" -Filter "state eq 'active'" -BatchContext $Context
+ PS C:\>Get-AzureBatchComputeNode -PoolId "Pool06" -Filter "state eq 'idle'" -BatchContext $Context
+Id : tvm-2316545714_1-20150725t213220z
+Url : https://cmdletexample.westus.batch.azure.com/pools/MyPool/nodes/tvm-2316545714_1-20150725t213220z
+State : Idle
+StateTransitionTime : 7/25/2015 9:36:53 PM
+LastBootTime : 7/25/2015 9:36:53 PM
+AllocationTime : 7/25/2015 9:32:20 PM
+IPAddress : 10.14.121.1
+AffinityId : TVM:tvm-2316545714_1-20150725t213220z
+VirtualMachineSize : small
+TotalTasksRun : 1
+StartTaskInformation :
+RecentTasks : {}
+StartTask :
+CertificateReferences :
+Errors :
- CommonEnvironmentSettings :
- Constraints : Microsoft.Azure.Commands.Batch.Models.PSJobConstraints
- CreationTime : 7/25/2015 9:15:44 PM
- DisplayName :
- ETag : 0x8D2953633DD13E1
- ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobExecutionInformation
- Id : MyJobSchedule:job-1
- JobManagerTask :
- JobPreparationTask :
- JobReleaseTask :
- LastModified : 7/25/2015 9:15:44 PM
- Metadata :
- PoolInformation : Microsoft.Azure.Commands.Batch.Models.PSPoolInformation
- PreviousState :
- PreviousStateTransitionTime :
- Priority : 0
- State : Active
- StateTransitionTime : 7/25/2015 9:15:44 PM
- Statistics :
- Url : https://cmdletexample.westus.batch.azure.com/jobs/MyJobSchedule:job-1
-
+Id : tvm-2316545714_2-20150726t172920z
+Url : https://cmdletexample.westus.batch.azure.com/pools/MyPool/nodes/tvm-2316545714_2-20150726t172920z
+State : Idle
+StateTransitionTime : 7/26/2015 5:33:58 PM
+LastBootTime : 7/26/2015 5:33:58 PM
+AllocationTime : 7/26/2015 5:29:20 PM
+IPAddress : 10.14.121.38
+AffinityId : TVM:tvm-2316545714_2-20150726t172920z
+VirtualMachineSize : small
+TotalTasksRun : 0
+StartTaskInformation :
+RecentTasks :
+StartTask :
+CertificateReferences :
+Errors :
+
- This command gets the active jobs under the job schedule with id MyJobSchedule.
+ This command gets all idle compute nodes that are contained in the pool that has the ID Pool06. The command specifies the idle state by using the Filter parameter.
@@ -667,36 +674,46 @@
- Example 3: Gets all jobs under a job schedule using pipelining
+ Example 3: Get all compute nodes in a specified pool
-
- PS C:\>Get-AzureBatchJobSchedule -Id "MyJobSchedule" -BatchContext $Context | Get-AzureBatchJob -BatchContext $Context
- CommonEnvironmentSettings :
- Constraints : Microsoft.Azure.Commands.Batch.Models.PSJobConstraints
- CreationTime : 7/25/2015 9:15:44 PM
- DisplayName :
- ETag : 0x8D2953633DD13E1
- ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobExecutionInformation
- Id : MyJobSchedule:job-1
- JobManagerTask :
- JobPreparationTask :
- JobReleaseTask :
- LastModified : 7/25/2015 9:15:44 PM
- Metadata :
- PoolInformation : Microsoft.Azure.Commands.Batch.Models.PSPoolInformation
- PreviousState :
- PreviousStateTransitionTime :
- Priority : 0
- State : Active
- StateTransitionTime : 7/25/2015 9:15:44 PM
- Statistics :
- Url : https://cmdletexample.westus.batch.azure.com/jobs/MyJobSchedule:job-1
-
+ PS C:\>Get-AzureBatchPool -Id "Pool07" -BatchContext $Context | Get-AzureBatchComputeNode -BatchContext $Context
+Id : tvm-2316545714_1-20150725t213220z
+Url : https://cmdletexample.westus.batch.azure.com/pools/MyPool/nodes/tvm-2316545714_1-20150725t213220z
+State : Idle
+StateTransitionTime : 7/25/2015 9:36:53 PM
+LastBootTime : 7/25/2015 9:36:53 PM
+AllocationTime : 7/25/2015 9:32:20 PM
+IPAddress : 10.14.121.1
+AffinityId : TVM:tvm-2316545714_1-20150725t213220z
+VirtualMachineSize : small
+TotalTasksRun : 1
+StartTaskInformation :
+RecentTasks : {}
+StartTask :
+CertificateReferences :
+Errors :
+
+Id : tvm-2316545714_2-20150726t172920z
+Url : https://cmdletexample.westus.batch.azure.com/pools/MyPool/nodes/tvm-2316545714_2-20150726t172920z
+State : Idle
+StateTransitionTime : 7/26/2015 5:33:58 PM
+LastBootTime : 7/26/2015 5:33:58 PM
+AllocationTime : 7/26/2015 5:29:20 PM
+IPAddress : 10.14.121.38
+AffinityId : TVM:tvm-2316545714_2-20150726t172920z
+VirtualMachineSize : small
+TotalTasksRun : 0
+StartTaskInformation :
+RecentTasks :
+StartTask :
+CertificateReferences :
+Errors :
+
- This command gets all jobs under the job schedule with id MyJobSchedule.
+ This command gets the pool that has the ID Pool07 by using the Get-AzureBatchPool cmdlet. The command passes that pool to the current cmdlet by using the pipeline operator. That cmdlet gets all compute nodes from that pool.
@@ -709,83 +726,91 @@
- Remove-AzureBatchJob
+ Get-AzureBatchNodeFile
- Get-AzureBatchJobSchedule
+ Get-AzureBatchNodeFileContent
+
+
+
+ Get-AzureBatchPool
+
+
+
+ RMAzure_Batch_Cmdlets
- Get-AzureBatchPool
+ Get-AzureBatchJobSchedule
- Gets Azure Batch pools under the specified Batch account.
+ Gets Batch job schedules.
Get
- AzureBatchPool
+ AzureBatchJobSchedule
- The Get-AzureBatchPool cmdlet gets the Azure Batch pools under the Batch account specified with the BatchContext parameter. You can use the Id parameter to get a single pool, or you can use the Filter parameter to get the pools that match an OData filter.
+ The Get-AzureBatchJobSchedule cmdlet gets Azure Batch job schedules for the Batch account specified by the BatchContext parameter. Specify an ID to get a single job schedule. Specify the Filter parameter to get the job schedules that match an OData filter.
- Get-AzureBatchPool
+ Get-AzureBatchJobSchedule
Filter
- Specifies the OData filter clause to use when querying for pools. If you do not specify a filter, all pools under the Batch account specified with the BatchContext parameter are returned.
+ Specifies an OData filter clause. This cmdlet returns job schedules that match the filter that this parameter specifies. If you do not specify a filter, this cmdlet returns all job schedules for the Batch context.
String
MaxCount
- Specifies the maximum number of pools to return. If you specify a value of 0 or less, no upper limit is used. If you do not specify a value, a default value of 1000 is used.
+ Specifies the maximum number of job schedules to return. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
Int32
Profile
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
- Get-AzureBatchPool
+ Get-AzureBatchJobSchedule
Id
- Specifies the id of the pool to retrieve. Wildcards are not permitted.
+ Specifies the ID of the job schedule that this cmdlet gets. You cannot specify wildcard characters.
String
Profile
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
@@ -795,7 +820,7 @@
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
@@ -807,7 +832,7 @@
Filter
- Specifies the OData filter clause to use when querying for pools. If you do not specify a filter, all pools under the Batch account specified with the BatchContext parameter are returned.
+ Specifies an OData filter clause. This cmdlet returns job schedules that match the filter that this parameter specifies. If you do not specify a filter, this cmdlet returns all job schedules for the Batch context.
String
@@ -816,26 +841,26 @@
none
-
- MaxCount
+
+ Id
- Specifies the maximum number of pools to return. If you specify a value of 0 or less, no upper limit is used. If you do not specify a value, a default value of 1000 is used.
+ Specifies the ID of the job schedule that this cmdlet gets. You cannot specify wildcard characters.
- Int32
+ String
- Int32
+ String
none
-
- Id
+
+ MaxCount
- Specifies the id of the pool to retrieve. Wildcards are not permitted.
+ Specifies the maximum number of job schedules to return. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
- String
+ Int32
- String
+ Int32
none
@@ -843,7 +868,7 @@
Profile
- Specifies the Azure profile for the cmdlet to read. If you do not specify a profile, the cmdlet reads from the default profile
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
@@ -873,7 +898,7 @@
- PSCloudPool
+ PSCloudJobSchedule
@@ -890,45 +915,30 @@
- Example 1: Get a pool by id
+ Example 1: Get a job schedule by specifying an ID
-
- PS C:\>Get-AzureBatchPool -Id "MyPool" -BatchContext $Context
-
- AllocationState : Resizing
- AllocationStateTransitionTime : 7/25/2015 9:30:28 PM
- AutoScaleEnabled : False
- AutoScaleFormula :
- AutoScaleRun :
- CertificateReferences :
- CreationTime : 7/25/2015 9:30:28 PM
- CurrentDedicated : 0
- CurrentOSVersion : *
- DisplayName :
- ETag : 0x8D29538429CF04C
- Id : MyPool
- InterComputeNodeCommunicationEnabled : False
- LastModified : 7/25/2015 9:30:28 PM
- MaxTasksPerComputeNode : 1
- Metadata :
- OSFamily : 4
- ResizeError :
- ResizeTimeout : 00:05:00
- TaskSchedulingPolicy : Microsoft.Azure.Commands.Batch.Models.PSTaskSchedulingPolicy
- StartTask :
- State : Active
- StateTransitionTime : 7/25/2015 9:30:28 PM
- Statistics :
- TargetDedicated : 1
- TargetOSVersion : *
- Url : https://cmdletexample.westus.batch.azure.com/pools/MyPool
- VirtualMachineSize : small
-
+ PS C:\>Get-AzureBatchJobSchedule -Id "JobSchedule23" -BatchContext $Context
+CreationTime : 7/25/2015 9:15:43 PM
+DisplayName :
+ETag : 0x8D2953633427FCA
+ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobScheduleExecutionInformation
+Id : MyJobSchedule
+JobSpecification : Microsoft.Azure.Commands.Batch.Models.PSJobSpecification
+LastModified : 7/25/2015 9:15:43 PM
+Metadata :
+PreviousState : Invalid
+PreviousStateTransitionTime :
+Schedule :
+State : Active
+StateTransitionTime : 7/25/2015 9:15:43 PM
+Statistics :
+Url : https://cmdletexample.westus.batch.azure.com/jobschedules/JobSchedule23
+
- This command gets the pool with id MyPool.
+ This command gets the job schedule that has the ID JobSchedule23.
@@ -939,44 +949,46 @@
- Example 2: Get all pools using an OData filter
+ Example 2: Get job schedules by using a filter
-
- PS C:\>Get-AzureBatchPool -Filter "startswith(id,'My')" -BatchContext $Context
- AllocationState : Resizing
- AllocationStateTransitionTime : 7/25/2015 9:30:28 PM
- AutoScaleEnabled : False
- AutoScaleFormula :
- AutoScaleRun :
- CertificateReferences :
- CreationTime : 7/25/2015 9:30:28 PM
- CurrentDedicated : 0
- CurrentOSVersion : *
- DisplayName :
- ETag : 0x8D29538429CF04C
- Id : MyPool
- InterComputeNodeCommunicationEnabled : False
- LastModified : 7/25/2015 9:30:28 PM
- MaxTasksPerComputeNode : 1
- Metadata :
- OSFamily : 4
- ResizeError :
- ResizeTimeout : 00:05:00
- TaskSchedulingPolicy : Microsoft.Azure.Commands.Batch.Models.PSTaskSchedulingPolicy
- StartTask :
- State : Active
- StateTransitionTime : 7/25/2015 9:30:28 PM
- Statistics :
- TargetDedicated : 1
- TargetOSVersion : *
- Url : https://cmdletexample.westus.batch.azure.com/pools/MyPool
- VirtualMachineSize : small
-
+ PS C:\>Get-AzureBatchJobSchedule -Filter "startswith(id,'Job')" -BatchContext $Context
+CreationTime : 7/25/2015 9:15:43 PM
+DisplayName :
+ETag : 0x8D2953633427FCA
+ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobScheduleExecutionInformation
+Id : MyJobSchedule
+JobSpecification : Microsoft.Azure.Commands.Batch.Models.PSJobSpecification
+LastModified : 7/25/2015 9:15:43 PM
+Metadata :
+PreviousState : Invalid
+PreviousStateTransitionTime :
+Schedule :
+State : Active
+StateTransitionTime : 7/25/2015 9:15:43 PM
+Statistics :
+Url : https://cmdletexample.westus.batch.azure.com/jobschedules/JobSchedule23
+
+CreationTime : 7/26/2015 5:39:33 PM
+DisplayName :
+ETag : 0x8D295E12B1084B4
+ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobScheduleExecutionInformation
+Id : MyJobSchedule2
+JobSpecification : Microsoft.Azure.Commands.Batch.Models.PSJobSpecification
+LastModified : 7/26/2015 5:39:33 PM
+Metadata :
+PreviousState : Invalid
+PreviousStateTransitionTime :
+Schedule :
+State : Active
+StateTransitionTime : 7/26/2015 5:39:33 PM
+Statistics :
+Url : https://cmdletexample.westus.batch.azure.com/jobschedules/JobSchedule17
+
- This command gets the pools whose ids start with My by using the Filter parameter.
+ This command gets all job schedules that have IDs that start with Job by specifying the Filter parameter.
@@ -989,180 +1001,142 @@
- New-AzureBatchPool
+ New-AzureBatchJobSchedule
- Remove-AzureBatchPool
+ Remove-AzureBatchJobSchedule
- Get-AzureBatchAccountKeys
+ RMAzure_Batch_Cmdlets
- Get-AzureBatchRemoteDesktopProtocolFile
+ Get-AzureBatchJob
- Gets a Remote Desktop Protocol file from the specified compute node.
+ Gets Batch jobs under the specified Batch account or job schedule.
Get
- AzureBatchRemoteDesktopProtocolFile
+ AzureBatchJob
- The Get-AzureBatchRemoteDesktopProtocolFile cmdlet gets a Remote Desktop Protocol file from the specified compute node and saves it to the specified file location or to the user supplied stream.
+ The Get-AzureBatchJob cmdlet gets the Azure Batch jobs under the Batch account specified by the BatchAccountContext parameter. You can use the Id parameter to get a single job, or you can use the Filter parameter to get the jobs that match an OData filter. If you supply a job schedule ID or PSCloudJobSchedule instance, only the jobs under that job schedule will be returned.
- Get-AzureBatchRemoteDesktopProtocolFile
-
- PoolId
+ Get-AzureBatchJob
+
+ Filter
- Specifies the id of the pool containing the compute node.
+ Specifies the OData filter clause to use when querying for jobs. If you do not specify a filter, and if you do not specify a job schedule, then all jobs under the Batch account will be returned. If not filter is specified, but a job schedule is specified, then all jobs under that job schedule will be returned.
- String
+ String
-
- ComputeNodeId
+
+ JobScheduleId
- Specifies the id of the compute node to which the Remote Desktop Protocol file will point.
+ Specifies the ID of the job schedule which contains the jobs.
String
+
+ MaxCount
+
+ Specifies the maximum number of jobs to return. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
+
+ Int32
+
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
-
+
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
-
- DestinationPath
-
- Specifies the file path where the Remote Desktop Protocol file is saved.
-
- String
-
- Get-AzureBatchRemoteDesktopProtocolFile
-
- PoolId
-
- Specifies the id of the pool containing the compute node.
-
- String
-
-
- ComputeNodeId
+ Get-AzureBatchJob
+
+ Id
- Specifies the id of the compute node to which the Remote Desktop Protocol file will point.
+ Specifies the ID of the job. You cannot specify wildcard characters.
String
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
-
+
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
-
- DestinationStream
-
- Specifies the stream into which the Remote Desktop Protocol file data is saved. This stream will not be closed or rewound by this call.
-
- Stream
-
- Get-AzureBatchRemoteDesktopProtocolFile
+ Get-AzureBatchJob
- ComputeNode
+ JobSchedule
- Specifies the PSComputeNode object representing the compute node in which the Remote Desktop Protocol file will point. You can use the Get-AzureBatchComputeNode cmdlet to get a PSComputeNode object.
+ Specifies the PSCloudJobSchedule object representing the job schedule which contains the jobs. Use the Get-AzureBatchJobSchedule cmdlet to get a PSCloudJobSchedule object.
- PSComputeNode
+ PSCloudJobSchedule
- Profile
-
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
-
- AzureProfile
-
-
- BatchContext
-
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
-
- BatchAccountContext
-
-
- DestinationPath
+ Filter
- Specifies the file path where the Remote Desktop Protocol file is saved.
+ Specifies the OData filter clause to use when querying for jobs. If you do not specify a filter, and if you do not specify a job schedule, then all jobs under the Batch account will be returned. If not filter is specified, but a job schedule is specified, then all jobs under that job schedule will be returned.
- String
+ String
-
-
- Get-AzureBatchRemoteDesktopProtocolFile
-
- ComputeNode
+
+ MaxCount
- Specifies the PSComputeNode object representing the compute node in which the Remote Desktop Protocol file will point. You can use the Get-AzureBatchComputeNode cmdlet to get a PSComputeNode object.
+ Specifies the maximum number of jobs to return. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
- PSComputeNode
+ Int32
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
-
- DestinationStream
-
- Specifies the stream into which the Remote Desktop Protocol file data is saved. This stream will not be closed or rewound by this call.
-
- Stream
-
-
+
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
@@ -1171,74 +1145,74 @@
none
-
- DestinationPath
+
+ Filter
- Specifies the file path where the Remote Desktop Protocol file is saved.
+ Specifies the OData filter clause to use when querying for jobs. If you do not specify a filter, and if you do not specify a job schedule, then all jobs under the Batch account will be returned. If not filter is specified, but a job schedule is specified, then all jobs under that job schedule will be returned.
- String
+ String
String
none
-
- DestinationStream
+
+ Id
- Specifies the stream into which the Remote Desktop Protocol file data is saved. This stream will not be closed or rewound by this call.
+ Specifies the ID of the job. You cannot specify wildcard characters.
- Stream
+ String
- Stream
+ String
none
-
- PoolId
+
+ JobSchedule
- Specifies the id of the pool containing the compute node.
+ Specifies the PSCloudJobSchedule object representing the job schedule which contains the jobs. Use the Get-AzureBatchJobSchedule cmdlet to get a PSCloudJobSchedule object.
- String
+ PSCloudJobSchedule
- String
+ PSCloudJobSchedule
none
-
- Profile
+
+ JobScheduleId
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the ID of the job schedule which contains the jobs.
- AzureProfile
+ String
- AzureProfile
+ String
none
-
- ComputeNode
+
+ MaxCount
- Specifies the PSComputeNode object representing the compute node in which the Remote Desktop Protocol file will point. You can use the Get-AzureBatchComputeNode cmdlet to get a PSComputeNode object.
+ Specifies the maximum number of jobs to return. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
- PSComputeNode
+ Int32
- PSComputeNode
+ Int32
none
-
- ComputeNodeId
+
+ Profile
- Specifies the id of the compute node to which the Remote Desktop Protocol file will point.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
- String
+ AzureProfile
- String
+ AzureProfile
none
@@ -1264,8 +1238,7 @@
-
-
+ PSCloudJob
@@ -1282,16 +1255,35 @@
- Example 1: Get a Remote Desktop Protocol file from a specified compute node and save it to the specified path
+ Example 1: Get a Batch job by id
-
- PS C:\>Get-AzureBatchRemoteDesktopProtocolFile -PoolId "MyPool" -ComputeNodeId "MyComputeNode" -DestinationPath "C:\PowerShell\MyComputeNode.rdp" -BatchContext $Context
-
+ PS C:\>Get-AzureBatchJob -Id "Job01" -BatchContext $Context
+CommonEnvironmentSettings :
+Constraints : Microsoft.Azure.Commands.Batch.Models.PSJobConstraints
+CreationTime : 7/25/2015 9:12:07 PM
+DisplayName :
+ETag : 0x8D29535B2941439
+ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobExecutionInformation
+Id : Job01
+JobManagerTask :
+JobPreparationTask :
+JobReleaseTask :
+LastModified : 7/25/2015 9:12:07 PM
+Metadata :
+PoolInformation : Microsoft.Azure.Commands.Batch.Models.PSPoolInformation
+PreviousState :
+PreviousStateTransitionTime :
+Priority : 0
+State : Active
+StateTransitionTime : 7/25/2015 9:12:07 PM
+Statistics :
+Url : https://cmdletexample.westus.batch.azure.com/jobs/Job01
+
- This command gets a Remote Desktop Protocol file from the compute node with id MyComputeNode in the pool with id MyPool. The file is saved to a file named C:\PowerShell\MyComputeNode.rdp.
+ This command gets the job with ID Job01.
@@ -1302,16 +1294,35 @@
- Example 2: Get a Remote Desktop Protocol file from a specified compute node and save it to the specified path
+ Example 2: Get all active jobs under a specified job schedule
-
- PS C:\>Get-AzureBatchComputeNode -PoolId "MyPool" -Id "MyComputeNode02" -BatchContext $Context | Get-AzureBatchRemoteDesktopProtocolFile -DestinationPath "C:\PowerShell\MyComputeNode02.rdp" -BatchContext $Context
-
+ PS C:\>Get-AzureBatchJob -JobScheduleId "MyJobSchedule" -Filter "state eq 'active'" -BatchContext $Context
+CommonEnvironmentSettings :
+Constraints : Microsoft.Azure.Commands.Batch.Models.PSJobConstraints
+CreationTime : 7/25/2015 9:15:44 PM
+DisplayName :
+ETag : 0x8D2953633DD13E1
+ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobExecutionInformation
+Id : MyJobSchedule:job-1
+JobManagerTask :
+JobPreparationTask :
+JobReleaseTask :
+LastModified : 7/25/2015 9:15:44 PM
+Metadata :
+PoolInformation : Microsoft.Azure.Commands.Batch.Models.PSPoolInformation
+PreviousState :
+PreviousStateTransitionTime :
+Priority : 0
+State : Active
+StateTransitionTime : 7/25/2015 9:15:44 PM
+Statistics :
+Url : https://cmdletexample.westus.batch.azure.com/jobs/MyJobSchedule:job-1
+
- This command gets a Remote Desktop Protocol file from the compute node with id MyComputeNode02 in the pool with id MyPool. The file is saved to a file named C:\PowerShell\MyComputeNode02.rdp.
+ This command gets the active jobs under the job schedule with ID MyJobSchedule.
@@ -1322,16 +1333,35 @@
- Example 3: Get a Remote Desktop Protocol file from a specified compute node and save it to the supplied stream
+ Example 3: Gets all jobs under a job schedule using pipelining
-
- PS C:\>$Stream = New-Object System.IO.MemoryStream; Get-AzureBatchRemoteDesktopProtocolFile "MyPool" -ComputeNodeId "MyComputeNode03" -DestinationStream $Stream -BatchContext $Context
-
+ PS C:\>Get-AzureBatchJobSchedule -Id "MyJobSchedule" -BatchContext $Context | Get-AzureBatchJob -BatchContext $Context
+CommonEnvironmentSettings :
+Constraints : Microsoft.Azure.Commands.Batch.Models.PSJobConstraints
+CreationTime : 7/25/2015 9:15:44 PM
+DisplayName :
+ETag : 0x8D2953633DD13E1
+ExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobExecutionInformation
+Id : MyJobSchedule:job-1
+JobManagerTask :
+JobPreparationTask :
+JobReleaseTask :
+LastModified : 7/25/2015 9:15:44 PM
+Metadata :
+PoolInformation : Microsoft.Azure.Commands.Batch.Models.PSPoolInformation
+PreviousState :
+PreviousStateTransitionTime :
+Priority : 0
+State : Active
+StateTransitionTime : 7/25/2015 9:15:44 PM
+Statistics :
+Url : https://cmdletexample.westus.batch.azure.com/jobs/MyJobSchedule:job-1
+
- This command gets a Remote Desktop Protocol file from the compute node with id MyComputeNode03 in the pool with id MyPool. The file contents are then copied to the user supplied Stream.
+ This command gets all jobs under the job schedule with ID MyJobSchedule.
@@ -1348,11 +1378,15 @@
- Get-AzureBatchComputeNode
+ Get-AzureBatchJobSchedule
+
+
+
+ Remove-AzureBatchJob
- Azure Batch Cmdlets
+ RMAzure_Batch_Cmdlets
@@ -1361,7 +1395,7 @@
Get-AzureBatchNodeFileContent
- Downloads the specified Azure Batch node file.
+ Gets a Batch node file.
@@ -1371,187 +1405,187 @@
- The Get-AzureBatchNodeFileContent cmdlet gets the specified Azure Batch node file and saves it to the specified file location or to the user supplied stream.
+ The Get-AzureBatchNodeFileContent cmdlet gets an Azure Batch node file and saves it as a file or to a stream.
Get-AzureBatchNodeFileContent
-
- PoolId
+
+ Name
- Specifies the id of the pool containing the compute node.
+ Specifies the name of the node file that this cmdlet retrieves. You cannot specify wildcard characters.
String
-
- ComputeNodeId
+
+ JobId
- Specifies the id of the compute node containing the node file.
+ Specifies the ID of the job that contains the target task.
String
-
- Name
+
+ Profile
- Specifies the name of the node file to download. You cannot use wildcards.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
- String
+ AzureProfile
- Profile
+ TaskId
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the ID of the task.
- AzureProfile
+ String
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
DestinationPath
- Specifies the file path where the node file will be downloaded.
+ Specifies the file path where this cmdlet saves the node file.
String
Get-AzureBatchNodeFileContent
-
- PoolId
-
- Specifies the id of the pool containing the compute node.
-
- String
-
-
- ComputeNodeId
-
- Specifies the id of the compute node containing the node file.
-
- String
-
-
- Name
-
- Specifies the name of the node file to download. You cannot use wildcards.
-
- String
-
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
DestinationStream
- Specifies the stream into which the node file contents will be written. This stream will not be closed or rewound by this call.
+ Specifies the stream into which this cmdlet writes the node file contents. This cmdlet does not close or rewind this stream.
Stream
-
-
- Get-AzureBatchNodeFileContent
-
+
JobId
- Specifies the id of the job containing the specified target task.
+ Specifies the ID of the job that contains the target task.
String
-
+
+ Name
+
+ Specifies the name of the node file that this cmdlet retrieves. You cannot specify wildcard characters.
+
+ String
+
+
TaskId
- Specifies the id of the task.
+ Specifies the ID of the task.
String
-
+
+
+ Get-AzureBatchNodeFileContent
+
+ PoolId
+
+ Specifies the ID of the pool that contains the compute node that contains the node file that this cmdlet gets.
+
+ String
+
+
+ ComputeNodeId
+
+ Specifies the ID of the compute node that contains the node file that this cmdlet returns.
+
+ String
+
+
Name
- Specifies the name of the node file to download. You cannot specify wildcards.
+ Specifies the name of the node file that this cmdlet retrieves. You cannot specify wildcard characters.
String
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
-
+
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
- DestinationPath
+ DestinationStream
- Specifies the file path where the node file will be saved.
+ Specifies the stream into which this cmdlet writes the node file contents. This cmdlet does not close or rewind this stream.
- String
+ Stream
Get-AzureBatchNodeFileContent
-
- JobId
+
+ PoolId
- Specifies the id of the job containing the specified target task.
+ Specifies the ID of the pool that contains the compute node that contains the node file that this cmdlet gets.
- String
+ String
-
- TaskId
+
+ ComputeNodeId
- Specifies the id of the task.
+ Specifies the ID of the compute node that contains the node file that this cmdlet returns.
String
-
+
Name
- Specifies the name of the node file to download. You cannot specify wildcards.
+ Specifies the name of the node file that this cmdlet retrieves. You cannot specify wildcard characters.
String
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
- DestinationStream
+ DestinationPath
- Specifies the Stream into which the node file contents will be written. This stream will not be closed or rewound by this call.
+ Specifies the file path where this cmdlet saves the node file.
- Stream
+ String
@@ -1559,30 +1593,30 @@
InputObject
- Specifies the PSNodeFile object representing the file to download. You can use the Get-AzureBatchNodeFile cmdlet to get a PSNodeFile object.
+ Specifies the file that this cmdlet gets, as a PSNodeFile object. To obtain a node file object, use the Get-AzureBatchNodeFile cmdlet.
PSNodeFile
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
- DestinationPath
+ DestinationStream
- Specifies the file path where the node file will be saved.
+ Specifies the stream into which this cmdlet writes the node file contents. This cmdlet does not close or rewind this stream.
- String
+ Stream
@@ -1590,30 +1624,30 @@
InputObject
- Specifies the PSNodeFile object representing the file to download. You can use the Get-AzureBatchNodeFile cmdlet to get a PSNodeFile object.
+ Specifies the file that this cmdlet gets, as a PSNodeFile object. To obtain a node file object, use the Get-AzureBatchNodeFile cmdlet.
PSNodeFile
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
- DestinationStream
+ DestinationPath
- Specifies the Stream into which the node file contents will be written. This stream will not be closed or rewound by this call.
+ Specifies the file path where this cmdlet saves the node file.
- Stream
+ String
@@ -1621,7 +1655,7 @@
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
@@ -1630,10 +1664,10 @@
none
-
+
ComputeNodeId
- Specifies the id of the compute node containing the node file.
+ Specifies the ID of the compute node that contains the node file that this cmdlet returns.
String
@@ -1645,7 +1679,7 @@
DestinationPath
- Specifies the file path where the node file will be saved.
+ Specifies the file path where this cmdlet saves the node file.
String
@@ -1657,7 +1691,7 @@
DestinationStream
- Specifies the Stream into which the node file contents will be written. This stream will not be closed or rewound by this call.
+ Specifies the stream into which this cmdlet writes the node file contents. This cmdlet does not close or rewind this stream.
Stream
@@ -1666,10 +1700,10 @@
none
-
+
InputObject
- Specifies the PSNodeFile object representing the file to download. You can use the Get-AzureBatchNodeFile cmdlet to get a PSNodeFile object.
+ Specifies the file that this cmdlet gets, as a PSNodeFile object. To obtain a node file object, use the Get-AzureBatchNodeFile cmdlet.
PSNodeFile
@@ -1681,7 +1715,7 @@
JobId
- Specifies the id of the job containing the specified target task.
+ Specifies the ID of the job that contains the target task.
String
@@ -1690,10 +1724,10 @@
none
-
+
Name
- Specifies the name of the node file to download. You cannot specify wildcards.
+ Specifies the name of the node file that this cmdlet retrieves. You cannot specify wildcard characters.
String
@@ -1702,26 +1736,26 @@
none
-
- Profile
+
+ PoolId
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the ID of the pool that contains the compute node that contains the node file that this cmdlet gets.
- AzureProfile
+ String
- AzureProfile
+ String
none
-
- PoolId
+
+ Profile
- Specifies the id of the pool containing the compute node.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
- String
+ AzureProfile
- String
+ AzureProfile
none
@@ -1729,7 +1763,7 @@
TaskId
- Specifies the id of the task.
+ Specifies the ID of the task.
String
@@ -1777,16 +1811,15 @@
- Example 1: Get a Batch node file associated with a task and save it to a specified file path
+ Example 1: Get a Batch node file associated with a task and save the file
-
- PS C:\>Get-AzureBatchNodeFileContent -JobId "Job01" -TaskId "MyTask01" -Name "StdOut.txt" -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context
-
+ PS C:\>Get-AzureBatchNodeFileContent -JobId "Job01" -TaskId "Task01" -Name "StdOut.txt" -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context
+
- This command gets the node file named StdOut.txt and saves it to the E:\PowerShell\StdOut.txt file path on the local computer. The StdOut.txt node file is associated with task MyTask01 under job Job01.
+ This command gets the node file that is named StdOut.txt, and saves it to the E:\PowerShell\StdOut.txt file path on the local computer. The StdOut.txt node file is associated with task that has the ID Task01 for the job that has the ID Job01. Use the Get-AzureBatchAccountKeys cmdlet to assign a context to the $Context variable.
@@ -1797,16 +1830,15 @@
- Example 2: Get a Batch node file and save it to a specified file path using pipelining
+ Example 2: Get a Batch node file and save it to a specified file path using the pipeline
-
- PS C:\>Get-AzureBatchNodeFile -JobId "Job02" -TaskId "MyTask02" -Name "StdErr.txt" -BatchContext $Context | Get-AzureBatchNodeFileContent -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context
-
+ PS C:\>Get-AzureBatchNodeFile -JobId "Job02" -TaskId "Task02" -Name "StdErr.txt" -BatchContext $Context | Get-AzureBatchNodeFileContent -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context
+
- This command gets the node file named StdErr.txt and saves it to the E:\PowerShell\StdOut.txt file path on the local computer. The StdOut.txt node file is associated with task MyTask02 under job Job02.
+ This command gets the node file that is named StdErr.txt by using the Get-AzureBatchNodeFile cmdlet. The command passes that file to the current cmdlet by using the pipeline operator. The current cmdlet saves that file to the E:\PowerShell\StdOut.txt file path on the local computer. The StdOut.txt node file is associated with the task that has the ID Task02 for the job that has the ID Job02.
@@ -1817,16 +1849,17 @@
- Example 3: Get a Batch node file associated with a task and save it to a specified stream
+ Example 3: Get a Batch node file associated with a task and direct it to a stream
-
- PS C:\>$Stream = New-Object System.IO.MemoryStream; Get-AzureBatchNodeFileContent -JobId "Job03" -TaskId "MyTask11" -Name "stdout.txt" -DestinationStream $Stream -BatchContext $Context
-
+ PS C:\>$Stream = New-Object -TypeName "System.IO.MemoryStream"
+PS C:\> Get-AzureBatchNodeFileContent -JobId "Job03" -TaskId "Task11" -Name "stdout.txt" -DestinationStream $Stream -BatchContext $Context
+
- This command gets the node file named StdOut.txt from the task with id "MyTask11" under job Job03. The file contents are saved to the user supplied stream.
+ The first command creates a stream by using the New-Object cmdlet, and then stores it in the $Stream variable.
+ The second command gets the node file that is named StdOut.txt from the task that has the ID Task11 for the job that has the ID Job03. The command directs file contents to the stream in $Stream.
@@ -1837,16 +1870,15 @@
- Example 4: Get a node file from a compute node and save it to a specified path
+ Example 4: Get a node file from a compute node and save it
-
- PS C:\>Get-AzureBatchNodeFileContent -PoolId "MyPool" -ComputeNodeId "ComputeNode01" -Name "Startup\StdOut.txt" -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context
-
+ PS C:\>Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "ComputeNode01" -Name "Startup\StdOut.txt" -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context
+
- This command gets the node file Startup\StdOut.txt from the compute node with id ComputeNode01 in the pool with id MyPool. The file is saved to the E:\PowerShell\StdOut.txt file path on the local machine.
+ This command gets the node file Startup\StdOut.txt from the compute node that has the ID ComputeNode01 in the pool that has the ID Pool01. The command saves the file to the E:\PowerShell\StdOut.txt file path on the local computer.
@@ -1857,16 +1889,15 @@
- Example 5: Get a node file from a compute node and save it to a specified path using pipelining
+ Example 5: Get a node file from a compute node and save it by using the pipeline
-
- PS C:\>Get-AzureBatchNodeFile -PoolId "MyPool" -ComputeNodeId "ComputeNode01" -Name "Startup\StdOut.txt" -BatchContext $Context | Get-AzureBatchNodeFileContent -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context
-
+ PS C:\>Get-AzureBatchNodeFile -PoolId "Pool01" -ComputeNodeId "ComputeNode01" -Name "Startup\StdOut.txt" -BatchContext $Context | Get-AzureBatchNodeFileContent -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context
+
- This command gets the node file Startup\StdOut.txt from the compute node with id ComputeNode01 in the pool with id MyPool. The file is saved to the E:\PowerShell\StdOut.txt file path on the local machine.
+ This command gets the node file Startup\StdOut.txt by using Get-AzureBatchNodeFile from the compute node that has the ID ComputeNode01. The compute node is in the pool that has the ID Pool01. The command passes that node file to the current cmdlet. That cmdlet saves the file to the E:\PowerShell\StdOut.txt file path on the local computer.
@@ -1877,16 +1908,17 @@
- Example 6: Get a node file from a compute node and save it to a specified stream
+ Example 6: Get a node file from a compute node and direct it to a stream
-
- PS C:\>$Stream = New-Object System.IO.MemoryStream; Get-AzureBatchNodeFileContent -PoolId "MyPool" -ComputeNodeId "ComputeNode01" -Name "startup\stdout.txt" -DestinationStream $Stream -BatchContext $Context
-
+ PS C:\>$Stream = New-Object -TypeName "System.IO.MemoryStream"
+PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "ComputeNode01" -Name "startup\stdout.txt" -DestinationStream $Stream -BatchContext $Context
+
- This command gets the node file Startup\StdOut.txt from the compute node with id ComputeNode01 in the pool with id MyPool. The file contents are saved to the user supplied stream.
+ The first command creates a stream by using the New-Object cmdlet, and then stores it in the $Stream variable.
+ The second command gets the node file that is named StdOut.txt from the compute node that has the ID ComputeNode01 in the pool that has the ID Pool01. The command directs file contents to the stream in $Stream.
@@ -1899,15 +1931,15 @@
- Get-AzureBatchNodeFile
+ Get-AzureBatchAccountKeys
- Get-AzureBatchAccountKeys
+ Get-AzureBatchNodeFile
- Azure Batch Cmdlets
+ RMAzure_Batch_Cmdlets
@@ -1916,7 +1948,7 @@
Get-AzureBatchNodeFile
- Gets the properties of the Azure Batch node files of the specified task or compute node.
+ Gets the properties of Batch node files.
@@ -1926,271 +1958,271 @@
- The Get-AzureBatchNodeFile cmdlet gets the properties of the Azure Batch node files of the specified task or compute node.
+ The Get-AzureBatchNodeFile cmdlet gets the properties of the Azure Batch node files of a task or compute node. To narrow your results, you can specify a filter. If you specify a task, but not a filter, this cmdlet returns properties for all node files for that task. If you specify a compute node, but not a filter, this cmdlet returns properties for all node files for that compute node.
Get-AzureBatchNodeFile
-
- JobId
+
+ PoolId
- Specifies the id of the job containing the specified target task.
+ Specifies the ID of the pool that contains the compute node from which to get properties of node files.
String
-
- TaskId
+
+ ComputeNodeId
- Specifies the id of the task.
+ Specifies the ID of the compute node that contains the Batch node files.
String
+
+ Name
+
+ Specifies the name of the node file for which this cmdlet retrieves properties. You cannot specify wildcard characters.
+
+ String
+
+
+ Profile
+
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
+
+ AzureProfile
+
+
+ BatchContext
+
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
+
+ BatchAccountContext
+
+
+
+ Get-AzureBatchNodeFile
Filter
- Specifies the OData filter clause to use when querying for node files. If you do not specify a filter, and a task is specified, then all node files associated with the specified task will be returned. If you do not specify a filter, and a compute node is specified, then all node files of the compute node will be returned.
+ Specifies an OData filter clause. This cmdlet returns properties for node files that match the filter that this parameter specifies.
String
MaxCount
- Specifies the maximum number of node files to return. If you specify a value of 0 or less, then no upper limit is used. If you do not specify a value, a default value of 1000 is used.
+ Specifies the maximum number of node files for which this cmdlet returns properties. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
Int32
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
Recursive
- Indicates that a recursive list of files is returned. Otherwise, returns only the files at the directory root.
+ Indicates that this cmdlet returns a recursive list of files. Otherwise, it returns only the files in the root folder.
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
-
-
- Get-AzureBatchNodeFile
JobId
- Specifies the id of the job containing the specified target task.
+ Specifies the ID of the job that contains the target task.
String
TaskId
- Specifies the id of the task.
+ Specifies the ID of the task for which this cmdlet gets properties of node files.
String
+
+
+ Get-AzureBatchNodeFile
Name
- Specifies the name of the node file to retrieve. You cannot use wildcards.
+ Specifies the name of the node file for which this cmdlet retrieves properties. You cannot specify wildcard characters.
String
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
+
+ JobId
+
+ Specifies the ID of the job that contains the target task.
+
+ String
+
+
+ TaskId
+
+ Specifies the ID of the task for which this cmdlet gets properties of node files.
+
+ String
+
Get-AzureBatchNodeFile
Task
- Specifies the PSCloudTask object representing the task that the node files are associated with. Use the Get-AzureBatchTask cmdlet to get a PSCloudTask object.
+ Specifies the task, as a PSCloudTask object, with which the node files are associated. To obtain a task object, use the Get-AzureBatchTask cmdlet.
PSCloudTask
Filter
- Specifies the OData filter clause to use when querying for node files. If you do not specify a filter, and a task is specified, then all node files associated with the specified task will be returned. If you do not specify a filter, and a compute node is specified, then all node files of the compute node will be returned.
+ Specifies an OData filter clause. This cmdlet returns properties for node files that match the filter that this parameter specifies.
String
MaxCount
- Specifies the maximum number of node files to return. If you specify a value of 0 or less, then no upper limit is used. If you do not specify a value, a default value of 1000 is used.
+ Specifies the maximum number of node files for which this cmdlet returns properties. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
Int32
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
Recursive
- Indicates that a recursive list of files is returned. Otherwise, returns only the files at the directory root.
+ Indicates that this cmdlet returns a recursive list of files. Otherwise, it returns only the files in the root folder.
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
-
+
Get-AzureBatchNodeFile
PoolId
- Specifies the id of the pool that contains the compute node.
+ Specifies the ID of the pool that contains the compute node from which to get properties of node files.
- String
+ String
ComputeNodeId
- Specifies the id of the compute node that contains the files.
+ Specifies the ID of the compute node that contains the Batch node files.
String
Filter
- Specifies the OData filter clause to use when querying for node files. If you do not specify a filter, and a task is specified, then all node files associated with the specified task will be returned. If you do not specify a filter, and a compute node is specified, then all node files of the compute node will be returned.
+ Specifies an OData filter clause. This cmdlet returns properties for node files that match the filter that this parameter specifies.
String
MaxCount
- Specifies the maximum number of node files to return. If you specify a value of 0 or less, then no upper limit will be used. If you do not specify a value, a default value of 1000 will be used.
+ Specifies the maximum number of node files for which this cmdlet returns properties. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
Int32
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
Recursive
- Indicates the cmdlet performs a recursive search of files. Otherwise, the cmdlet returns only the files at the directory root.
+ Indicates that this cmdlet returns a recursive list of files. Otherwise, it returns only the files in the root folder.
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
Get-AzureBatchNodeFile
-
- PoolId
+
+ ComputeNode
- Specifies the id of the pool that contains the compute node.
+ Specifies the compute node, as a PSComputeNode object, that contains the Batch node files. To obtain a compute node object, use the Get-AzureBatchComputeNode cmdlet.
- String
+ PSComputeNode
-
- Name
+
+ Filter
- Specifies the name of the file to retrieve from the compute node. You cannot use wildcards.
+ Specifies an OData filter clause. This cmdlet returns properties for node files that match the filter that this parameter specifies.
String
+
+ MaxCount
+
+ Specifies the maximum number of node files for which this cmdlet returns properties. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
+
+ Int32
+
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
- ComputeNodeId
+ Recursive
- Specifies the id of the compute node that contains the files.
+ Indicates that this cmdlet returns a recursive list of files. Otherwise, it returns only the files in the root folder.
- String
-
+
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
-
- BatchAccountContext
-
-
-
- Get-AzureBatchNodeFile
-
- Filter
-
- Specifies the OData filter clause to use when querying for node files. If you do not specify a filter, and a task is specified, then all node files associated with the specified task will be returned. If you do not specify a filter, and a compute node is specified, then all node files of the compute node will be returned.
-
- String
-
-
- ComputeNode
-
- Specifies the PSComputeNode object representing the compute node that contains the files. You can use the Get-AzureBatchComputeNode cmdlet to get a PSComputeNode object.
-
- PSComputeNode
-
-
- MaxCount
-
- Specifies the maximum number of node files to return. If you specify a value of 0 or less, then no upper limit will be used. If you do not specify a value, a default value of 1000 will be used.
-
- Int32
-
-
- Profile
-
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
-
- AzureProfile
-
-
- Recursive
-
- Indicates the cmdlet performs a recursive search of files. Otherwise, the cmdlet returns only the files at the directory root.
-
-
-
- BatchContext
-
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. You can use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
@@ -2200,7 +2232,7 @@
BatchContext
- Specifies the BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.
+ Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureBatchAccountKeys cmdlet.
BatchAccountContext
@@ -2212,7 +2244,7 @@
ComputeNode
- Specifies the PSComputeNode object representing the compute node that contains the files. You can use the Get-AzureBatchComputeNode cmdlet to get a PSComputeNode object.
+ Specifies the compute node, as a PSComputeNode object, that contains the Batch node files. To obtain a compute node object, use the Get-AzureBatchComputeNode cmdlet.
PSComputeNode
@@ -2224,7 +2256,7 @@
ComputeNodeId
- Specifies the id of the compute node that contains the files.
+ Specifies the ID of the compute node that contains the Batch node files.
String
@@ -2236,7 +2268,7 @@
Filter
- Specifies the OData filter clause to use when querying for node files. If you do not specify a filter, and a task is specified, then all node files associated with the specified task will be returned. If you do not specify a filter, and a compute node is specified, then all node files of the compute node will be returned.
+ Specifies an OData filter clause. This cmdlet returns properties for node files that match the filter that this parameter specifies.
String
@@ -2245,10 +2277,10 @@
none
-
+
JobId
- Specifies the id of the job containing the specified target task.
+ Specifies the ID of the job that contains the target task.
String
@@ -2260,7 +2292,7 @@
MaxCount
- Specifies the maximum number of node files to return. If you specify a value of 0 or less, then no upper limit is used. If you do not specify a value, a default value of 1000 is used.
+ Specifies the maximum number of node files for which this cmdlet returns properties. If you specify a value of zero (0) or less, the cmdlet does not use an upper limit. The default value is 1000.
Int32
@@ -2269,10 +2301,10 @@
none
-
+
Name
- Specifies the name of the node file to retrieve. You cannot use wildcards.
+ Specifies the name of the node file for which this cmdlet retrieves properties. You cannot specify wildcard characters.
String
@@ -2284,9 +2316,9 @@
PoolId
- Specifies the id of the pool that contains the compute node.
+ Specifies the ID of the pool that contains the compute node from which to get properties of node files.
- String
+ String
String
@@ -2296,7 +2328,7 @@
Profile
- Specifies the Azure profile in which this cmdlet operates. If you do not specify a profile, this cmdlet uses the default profile.
+ Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
AzureProfile
@@ -2308,7 +2340,7 @@
Recursive
- Indicates that a recursive list of files is returned. Otherwise, returns only the files at the directory root.
+ Indicates that this cmdlet returns a recursive list of files. Otherwise, it returns only the files in the root folder.
SwitchParameter
@@ -2320,7 +2352,7 @@
Task
- Specifies the PSCloudTask object representing the task that the node files are associated with. Use the Get-AzureBatchTask cmdlet to get a PSCloudTask object.
+ Specifies the task, as a PSCloudTask object, with which the node files are associated. To obtain a task object, use the Get-AzureBatchTask cmdlet.
PSCloudTask
@@ -2329,10 +2361,10 @@
none
-
+
TaskId
-