diff --git a/ChangeLog.md b/ChangeLog.md
index a1185a65229a..d574b4d8ff7a 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -7,7 +7,6 @@
* Changed the output format of Get image cmdlets as a table
* Fixed Set-AzureVMAccessExtension cmdlet
* Azure Compute (Service Management) cmdlets
- * Changed the warning message to a non-terminating error message for ResourceNotFound in VM cmdlets
* Exposed ComputeImageConfig in Get-AzurePlatformVMImage cmdlet
* Fixed Publish-AzurePlatformExtension and Set-AzurePlatformExtension cmdlets
* Azure Backup - added the following cmdlets
@@ -44,6 +43,12 @@
* Get-AzureSqlServerActiveDirectoryAdministrator
* Set-AzureSqlServerActiveDirectoryAdministrator
* Remove-AzureSqlServerActiveDirectoryAdministrator
+* SQL Server VM cmdlets (ARM)
+ * New-AzureVMSqlServerAutoPatchingConfig
+ * New-AzureVMSqlServerAutoBackupConfig
+ * Set-AzureVMSqlServerExtension
+ * Get-AzureVMSqlServerExtension
+ * Remove-AzureVMSqlServerExtension
## 2015.08.17 version 0.9.7
* Azure Profile cmdlets
diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi
index 844c5a05065e..84a4a919a7c5 100644
--- a/setup/azurecmdfiles.wxi
+++ b/setup/azurecmdfiles.wxi
@@ -17,6 +17,9 @@
+
+
+
@@ -112,6 +115,9 @@
+
+
+
@@ -183,6 +189,9 @@
+
+
+
@@ -551,6 +560,9 @@
+
+
+
@@ -652,6 +664,9 @@
+
+
+
@@ -814,6 +829,12 @@
+
+
+
+
+
+
@@ -1071,6 +1092,9 @@
+
+
+
@@ -1172,6 +1196,9 @@
+
+
+
@@ -1252,6 +1279,9 @@
+
+
+
@@ -1329,6 +1359,9 @@
+
+
+
@@ -1397,6 +1430,9 @@
+
+
+
@@ -1531,6 +1567,9 @@
+
+
+
@@ -1656,6 +1695,9 @@
+
+
+
@@ -1733,6 +1775,9 @@
+
+
+
@@ -1810,6 +1855,9 @@
+
+
+
@@ -1854,6 +1902,9 @@
+
+
+
@@ -1985,6 +2036,9 @@
+
+
+
@@ -2053,6 +2107,9 @@
+
+
+
@@ -2184,6 +2241,9 @@
+
+
+
@@ -2285,6 +2345,9 @@
+
+
+
@@ -2395,6 +2458,9 @@
+
+
+
@@ -2487,6 +2553,9 @@
+
+
+
@@ -2582,6 +2651,9 @@
+
+
+
@@ -2641,6 +2713,9 @@
+
+
+
@@ -2697,6 +2772,9 @@
+
+
+
@@ -2781,6 +2859,9 @@
+
+
+
@@ -2861,6 +2942,9 @@
+
+
+
@@ -3064,6 +3148,9 @@
+
+
+
@@ -3135,6 +3222,9 @@
+
+
+
@@ -3245,6 +3335,9 @@
+
+
+
@@ -3424,6 +3517,9 @@
+
+
+
@@ -3795,6 +3891,9 @@
+
+
+
@@ -3871,6 +3970,9 @@
+
+
+
@@ -3972,6 +4074,9 @@
+
+
+
@@ -4370,6 +4475,9 @@
+
+
+
@@ -4564,6 +4672,9 @@
+
+
+
@@ -4662,6 +4773,9 @@
+
+
+
@@ -4736,6 +4850,9 @@
+
+
+
@@ -4822,6 +4939,7 @@
+
@@ -4853,6 +4971,7 @@
+
@@ -4876,6 +4995,7 @@
+
@@ -4988,6 +5108,7 @@
+
@@ -5021,6 +5142,7 @@
+
@@ -5075,6 +5197,8 @@
+
+
@@ -5150,6 +5274,7 @@
+
@@ -5183,6 +5308,7 @@
+
@@ -5209,6 +5335,7 @@
+
@@ -5234,6 +5361,7 @@
+
@@ -5256,6 +5384,7 @@
+
@@ -5300,6 +5429,7 @@
+
@@ -5341,6 +5471,7 @@
+
@@ -5366,6 +5497,7 @@
+
@@ -5391,6 +5523,7 @@
+
@@ -5405,6 +5538,7 @@
+
@@ -5448,6 +5582,7 @@
+
@@ -5470,6 +5605,7 @@
+
@@ -5513,6 +5649,7 @@
+
@@ -5546,6 +5683,7 @@
+
@@ -5582,6 +5720,7 @@
+
@@ -5612,6 +5751,7 @@
+
@@ -5643,6 +5783,7 @@
+
@@ -5662,6 +5803,7 @@
+
@@ -5680,6 +5822,7 @@
+
@@ -5706,6 +5849,7 @@
+
@@ -5732,6 +5876,7 @@
+
@@ -5799,6 +5944,7 @@
+
@@ -5822,6 +5968,7 @@
+
@@ -5858,6 +6005,7 @@
+
@@ -5917,6 +6065,7 @@
+
@@ -6030,6 +6179,7 @@
+
@@ -6054,6 +6204,7 @@
+
@@ -6087,6 +6238,7 @@
+
@@ -6209,6 +6361,7 @@
+
@@ -6273,6 +6426,7 @@
+
@@ -6305,6 +6459,7 @@
+
@@ -6329,6 +6484,7 @@
+
diff --git a/src/Common/AzurePSCmdlet.cs b/src/Common/AzurePSCmdlet.cs
index a9311b6eb1f2..c8c71e535731 100644
--- a/src/Common/AzurePSCmdlet.cs
+++ b/src/Common/AzurePSCmdlet.cs
@@ -1,4 +1,4 @@
-// ----------------------------------------------------------------------------------
+// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,6 +21,10 @@
using Microsoft.Azure.Common.Authentication;
using Microsoft.Azure.Common.Authentication.Models;
using Microsoft.WindowsAzure.Commands.Common;
+using Newtonsoft.Json;
+using System.IO;
+using System.Management.Automation.Host;
+using System.Threading;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
@@ -34,6 +38,18 @@ public abstract class AzurePSCmdlet : PSCmdlet, IDisposable
private RecordingTracingInterceptor _httpTracingInterceptor;
private DebugStreamTraceListener _adalListener;
+ protected static AzurePSDataCollectionProfile _dataCollectionProfile = null;
+
+ protected AzurePSQoSEvent QosEvent;
+
+ protected virtual bool IsUsageMetricEnabled {
+ get { return false; }
+ }
+
+ protected virtual bool IsErrorMetricEnabled
+ {
+ get { return true; }
+ }
///
/// Gets the PowerShell module name used for user agent header.
@@ -60,10 +76,123 @@ public AzurePSCmdlet()
}
///
- /// Cmdlet begin process. Write to logs, setup Http Tracing and initialize profile and adds user agent.
+ /// Initialize the data collection profile
+ ///
+ protected static void InitializeDataCollectionProfile()
+ {
+ if (_dataCollectionProfile != null && _dataCollectionProfile.EnableAzureDataCollection.HasValue)
+ {
+ return;
+ }
+
+ // Get the value of the environment variable for Azure PS data collection setting.
+ string value = Environment.GetEnvironmentVariable(AzurePSDataCollectionProfile.EnvironmentVariableName);
+ if (!string.IsNullOrWhiteSpace(value))
+ {
+ if (string.Equals(value, bool.FalseString, StringComparison.OrdinalIgnoreCase))
+ {
+ // Disable data collection only if it is explictly set to 'false'.
+ _dataCollectionProfile = new AzurePSDataCollectionProfile(true);
+ }
+ else if (string.Equals(value, bool.TrueString, StringComparison.OrdinalIgnoreCase))
+ {
+ // Enable data collection only if it is explictly set to 'true'.
+ _dataCollectionProfile = new AzurePSDataCollectionProfile(false);
+ }
+ }
+
+ // If the environment value is null or empty, or not correctly set, try to read the setting from default file location.
+ if (_dataCollectionProfile == null)
+ {
+ string fileFullPath = Path.Combine(AzureSession.ProfileDirectory, AzurePSDataCollectionProfile.DefaultFileName);
+ if (File.Exists(fileFullPath))
+ {
+ string contents = File.ReadAllText(fileFullPath);
+ _dataCollectionProfile = JsonConvert.DeserializeObject(contents);
+ }
+ }
+
+ // If the environment variable or file content is not set, create a new profile object.
+ if (_dataCollectionProfile == null)
+ {
+ _dataCollectionProfile = new AzurePSDataCollectionProfile();
+ }
+ }
+
+ ///
+ /// Get the data collection profile
+ ///
+ protected static AzurePSDataCollectionProfile GetDataCollectionProfile()
+ {
+ if (_dataCollectionProfile == null)
+ {
+ InitializeDataCollectionProfile();
+ }
+
+ return _dataCollectionProfile;
+ }
+
+ ///
+ /// Check whether the data collection is opted in from user
+ ///
+ /// true if allowed
+ public static bool IsDataCollectionAllowed()
+ {
+ if (_dataCollectionProfile != null &&
+ _dataCollectionProfile.EnableAzureDataCollection.HasValue &&
+ _dataCollectionProfile.EnableAzureDataCollection.Value)
+ {
+ return true;
+ }
+
+ return false;
+ }
+
+ ///
+ /// Save the current data collection profile Json data into the default file path
+ ///
+ ///
+ protected abstract void SaveDataCollectionProfile();
+
+ protected bool CheckIfInteractive()
+ {
+ bool interactive = true;
+ if (this.Host == null || this.Host.UI == null || this.Host.UI.RawUI == null)
+ {
+ interactive = false;
+ }
+ else
+ {
+ try
+ {
+ var test = this.Host.UI.RawUI.KeyAvailable;
+ }
+ catch
+ {
+ interactive = false;
+ }
+ }
+
+ if (!interactive && !_dataCollectionProfile.EnableAzureDataCollection.HasValue)
+ {
+ _dataCollectionProfile.EnableAzureDataCollection = false;
+ }
+ return interactive;
+ }
+
+ ///
+ /// Prompt for the current data collection profile
+ ///
+ ///
+ protected abstract void PromptForDataCollectionProfileIfNotExists();
+
+ ///
+ /// Cmdlet begin process. Write to logs, setup Http Tracing and initialize profile
///
protected override void BeginProcessing()
{
+ PromptForDataCollectionProfileIfNotExists();
+ InitializeQosEvent();
if (string.IsNullOrEmpty(ParameterSetName))
{
WriteDebugWithTimestamp(string.Format("{0} begin processing without ParameterSet.", this.GetType().Name));
@@ -95,6 +224,7 @@ protected override void BeginProcessing()
///
protected override void EndProcessing()
{
+ LogQosEvent();
string message = string.Format("{0} end processing.", this.GetType().Name);
WriteDebugWithTimestamp(message);
@@ -125,6 +255,13 @@ protected bool IsVerbose()
protected new void WriteError(ErrorRecord errorRecord)
{
FlushDebugMessages();
+ if (QosEvent != null && errorRecord != null)
+ {
+ QosEvent.Exception = errorRecord.Exception;
+ QosEvent.IsSuccess = false;
+ LogQosEvent(true);
+ }
+
base.WriteError(errorRecord);
}
@@ -234,6 +371,45 @@ private void FlushDebugMessages()
}
}
+ protected abstract void InitializeQosEvent();
+
+ ///
+ /// Invoke this method when the cmdlet is completed or terminated.
+ ///
+ protected void LogQosEvent(bool waitForMetricSending = false)
+ {
+ if (QosEvent == null)
+ {
+ return;
+ }
+
+ QosEvent.FinishQosEvent();
+
+ if (!IsUsageMetricEnabled && (!IsErrorMetricEnabled || QosEvent.IsSuccess))
+ {
+ return;
+ }
+
+ if (!IsDataCollectionAllowed())
+ {
+ return;
+ }
+
+ WriteDebug(QosEvent.ToString());
+
+ try
+ {
+ MetricHelper.LogQoSEvent(QosEvent, IsUsageMetricEnabled, IsErrorMetricEnabled);
+ MetricHelper.FlushMetric(waitForMetricSending);
+ WriteDebug("Finish sending metric.");
+ }
+ catch (Exception e)
+ {
+ //Swallow error from Application Insights event collection.
+ WriteWarning(e.ToString());
+ }
+ }
+
///
/// Asks for confirmation before executing the action.
///
@@ -244,10 +420,19 @@ private void FlushDebugMessages()
/// The action code
protected void ConfirmAction(bool force, string actionMessage, string processMessage, string target, Action action)
{
+ if (QosEvent != null)
+ {
+ QosEvent.PauseQoSTimer();
+ }
+
if (force || ShouldContinue(actionMessage, ""))
{
if (ShouldProcess(target, processMessage))
- {
+ {
+ if (QosEvent != null)
+ {
+ QosEvent.ResumeQosTimer();
+ }
action();
}
}
diff --git a/src/Common/Commands.Common/AzurePSDataCollectionProfile.cs b/src/Common/Commands.Common/AzurePSDataCollectionProfile.cs
new file mode 100644
index 000000000000..cd8c9694c967
--- /dev/null
+++ b/src/Common/Commands.Common/AzurePSDataCollectionProfile.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.IO;
+using Newtonsoft.Json;
+using Microsoft.Azure.Common.Authentication;
+
+namespace Microsoft.WindowsAzure.Commands.Common
+{
+ public class AzurePSDataCollectionProfile
+ {
+ public const string EnvironmentVariableName = "Azure_PS_Data_Collection";
+ public static string DefaultFileName = "AzureDataCollectionProfile.json";
+
+ public AzurePSDataCollectionProfile()
+ {
+ }
+
+ public AzurePSDataCollectionProfile(bool enable)
+ {
+ EnableAzureDataCollection = enable;
+ }
+
+ [JsonProperty(PropertyName = "enableAzureDataCollection")]
+ public bool? EnableAzureDataCollection { get; set; }
+ }
+}
diff --git a/src/Common/Commands.Common/AzureSMCmdlet.cs b/src/Common/Commands.Common/AzureSMCmdlet.cs
index f55c8e982246..b9336aa69b48 100644
--- a/src/Common/Commands.Common/AzureSMCmdlet.cs
+++ b/src/Common/Commands.Common/AzureSMCmdlet.cs
@@ -22,6 +22,9 @@
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using Microsoft.WindowsAzure.Commands.Common;
using Microsoft.WindowsAzure.Commands.Common.Properties;
+using Newtonsoft.Json;
+using System.Threading;
+using System.Management.Automation.Host;
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
{
@@ -131,6 +134,80 @@ protected static void SetTokenCacheForProfile(AzureSMProfile profile)
}
}
+ protected override void SaveDataCollectionProfile()
+ {
+ if (_dataCollectionProfile == null)
+ {
+ InitializeDataCollectionProfile();
+ }
+
+ string fileFullPath = Path.Combine(AzureSession.ProfileDirectory, AzurePSDataCollectionProfile.DefaultFileName);
+ var contents = JsonConvert.SerializeObject(_dataCollectionProfile);
+ AzureSession.DataStore.WriteFile(fileFullPath, contents);
+ WriteWarning(string.Format(Resources.DataCollectionSaveFileInformation, fileFullPath));
+ }
+
+ protected override void PromptForDataCollectionProfileIfNotExists()
+ {
+ // Initialize it from the environment variable or profile file.
+ InitializeDataCollectionProfile();
+
+ if (!_dataCollectionProfile.EnableAzureDataCollection.HasValue && CheckIfInteractive())
+ {
+ WriteWarning(Resources.DataCollectionPrompt);
+
+ const double timeToWaitInSeconds = 60;
+ var status = string.Format(Resources.DataCollectionConfirmTime, timeToWaitInSeconds);
+ ProgressRecord record = new ProgressRecord(0, Resources.DataCollectionActivity, status);
+
+ var startTime = DateTime.Now;
+ var endTime = DateTime.Now;
+ double elapsedSeconds = 0;
+
+ while (!this.Host.UI.RawUI.KeyAvailable && elapsedSeconds < timeToWaitInSeconds)
+ {
+ Thread.Sleep(TimeSpan.FromMilliseconds(10));
+ endTime = DateTime.Now;
+
+ elapsedSeconds = (endTime - startTime).TotalSeconds;
+ record.PercentComplete = ((int)elapsedSeconds * 100 / (int)timeToWaitInSeconds);
+ WriteProgress(record);
+ }
+
+ bool enabled = false;
+ if (this.Host.UI.RawUI.KeyAvailable)
+ {
+ KeyInfo keyInfo = this.Host.UI.RawUI.ReadKey(ReadKeyOptions.NoEcho | ReadKeyOptions.AllowCtrlC | ReadKeyOptions.IncludeKeyDown);
+ enabled = (keyInfo.Character == 'Y' || keyInfo.Character == 'y');
+ }
+
+ _dataCollectionProfile.EnableAzureDataCollection = enabled;
+
+ WriteWarning(enabled ? Resources.DataCollectionConfirmYes : Resources.DataCollectionConfirmNo);
+
+ SaveDataCollectionProfile();
+ }
+ }
+
+ protected override void InitializeQosEvent()
+ {
+ QosEvent = new AzurePSQoSEvent()
+ {
+ CmdletType = this.GetType().Name,
+ IsSuccess = true,
+ };
+
+ if (this.Profile != null && this.Profile.DefaultSubscription != null)
+ {
+ QosEvent.Uid = MetricHelper.GenerateSha256HashString(
+ this.Profile.DefaultSubscription.Id.ToString());
+ }
+ else
+ {
+ QosEvent.Uid = "defaultid";
+ }
+ }
+
///
/// Cmdlet begin process. Write to logs, setup Http Tracing and initialize profile
///
diff --git a/src/Common/Commands.Common/Commands.Common.csproj b/src/Common/Commands.Common/Commands.Common.csproj
index 5cfe1949e29e..8888e10cea22 100644
--- a/src/Common/Commands.Common/Commands.Common.csproj
+++ b/src/Common/Commands.Common/Commands.Common.csproj
@@ -15,6 +15,7 @@
..\..\
true
/assemblyCompareMode:StrongNameIgnoringVersion
+ 06e19c11
true
@@ -54,6 +55,10 @@
False
..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll
+
+ ..\..\packages\Microsoft.ApplicationInsights.1.1.1-beta\lib\net45\Microsoft.ApplicationInsights.dll
+ True
+
False
..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
@@ -141,6 +146,7 @@
AzurePSCmdlet.cs
+
@@ -153,6 +159,7 @@
+
diff --git a/src/Common/Commands.Common/MetricHelper.cs b/src/Common/Commands.Common/MetricHelper.cs
new file mode 100644
index 000000000000..9bb3d20e4296
--- /dev/null
+++ b/src/Common/Commands.Common/MetricHelper.cs
@@ -0,0 +1,165 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Security.Cryptography;
+using System.Text;
+using System.Threading.Tasks;
+using Microsoft.ApplicationInsights;
+using Microsoft.ApplicationInsights.Channel;
+using Microsoft.ApplicationInsights.DataContracts;
+using Microsoft.ApplicationInsights.Extensibility;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+
+namespace Microsoft.WindowsAzure.Commands.Common
+{
+ public static class MetricHelper
+ {
+ private const int FlushTimeoutInMilli = 5000;
+ private static readonly TelemetryClient TelemetryClient;
+
+ static MetricHelper()
+ {
+ TelemetryClient = new TelemetryClient();
+ // TODO: InstrumentationKey shall be injected in build server
+ TelemetryClient.InstrumentationKey = "7df6ff70-8353-4672-80d6-568517fed090";
+ // Disable IP collection
+ TelemetryClient.Context.Location.Ip = "0.0.0.0";
+
+ if (TestMockSupport.RunningMocked)
+ {
+ TelemetryConfiguration.Active.DisableTelemetry = true;
+ }
+ }
+
+ public static void LogQoSEvent(AzurePSQoSEvent qos, bool isUsageMetricEnabled, bool isErrorMetricEnabled)
+ {
+ if (!IsMetricTermAccepted())
+ {
+ return;
+ }
+
+ if (isUsageMetricEnabled)
+ {
+ LogUsageEvent(qos);
+ }
+
+ if (isErrorMetricEnabled && qos.Exception != null)
+ {
+ LogExceptionEvent(qos);
+ }
+ }
+
+ private static void LogUsageEvent(AzurePSQoSEvent qos)
+ {
+ var tcEvent = new RequestTelemetry(qos.CmdletType, qos.StartTime, qos.Duration, string.Empty, qos.IsSuccess);
+ tcEvent.Context.User.Id = qos.Uid;
+ tcEvent.Context.User.UserAgent = AzurePowerShell.UserAgentValue.ToString();
+ tcEvent.Context.Device.OperatingSystem = Environment.OSVersion.VersionString;
+
+ TelemetryClient.TrackRequest(tcEvent);
+ }
+
+ private static void LogExceptionEvent(AzurePSQoSEvent qos)
+ {
+ //Log as custome event to exclude actual exception message
+ var tcEvent = new EventTelemetry("CmdletError");
+ tcEvent.Properties.Add("ExceptionType", qos.Exception.GetType().FullName);
+ tcEvent.Properties.Add("StackTrace", qos.Exception.StackTrace);
+ if (qos.Exception.InnerException != null)
+ {
+ tcEvent.Properties.Add("InnerExceptionType", qos.Exception.InnerException.GetType().FullName);
+ tcEvent.Properties.Add("InnerStackTrace", qos.Exception.InnerException.StackTrace);
+ }
+
+ tcEvent.Context.User.Id = qos.Uid;
+ tcEvent.Properties.Add("CmdletType", qos.CmdletType);
+
+ TelemetryClient.TrackEvent(tcEvent);
+ }
+
+ public static bool IsMetricTermAccepted()
+ {
+ return AzurePSCmdlet.IsDataCollectionAllowed();
+ }
+
+ public static void FlushMetric(bool waitForMetricSending)
+ {
+ if (!IsMetricTermAccepted())
+ {
+ return;
+ }
+
+ var flushTask = Task.Run(() => FlushAi());
+ if (waitForMetricSending)
+ {
+ Task.WaitAll(new[] { flushTask }, FlushTimeoutInMilli);
+ }
+ }
+
+ private static void FlushAi()
+ {
+ try
+ {
+ TelemetryClient.Flush();
+ }
+ catch
+ {
+ // ignored
+ }
+ }
+
+ ///
+ /// Gereate a SHA256 Hash string from the originInput.
+ ///
+ ///
+ ///
+ public static string GenerateSha256HashString(string originInput)
+ {
+ SHA256 sha256 = SHA256.Create();
+ var bytes = sha256.ComputeHash(Encoding.UTF8.GetBytes(originInput));
+ return Encoding.UTF8.GetString(bytes);
+ }
+ }
+}
+
+public class AzurePSQoSEvent
+{
+ private readonly Stopwatch _timer;
+
+ public DateTimeOffset StartTime { get; set; }
+ public TimeSpan Duration { get; set; }
+ public bool IsSuccess { get; set; }
+ public string CmdletType { get; set; }
+ public Exception Exception { get; set; }
+ public string Uid { get; set; }
+
+ public AzurePSQoSEvent()
+ {
+ StartTime = DateTimeOffset.Now;
+ _timer = new Stopwatch();
+ _timer.Start();
+ }
+
+ public void PauseQoSTimer()
+ {
+ _timer.Stop();
+ }
+
+ public void ResumeQosTimer()
+ {
+ _timer.Start();
+ }
+
+ public void FinishQosEvent()
+ {
+ _timer.Stop();
+ Duration = _timer.Elapsed;
+ }
+
+ public override string ToString()
+ {
+ return string.Format(
+ "AzureQoSEvent: CmdletType - {0}; IsSuccess - {1}; Duration - {2}; Exception - {3};",
+ CmdletType, IsSuccess, Duration, Exception);
+ }
+}
diff --git a/src/Common/Commands.Common/Properties/Resources.Designer.cs b/src/Common/Commands.Common/Properties/Resources.Designer.cs
index f8141354414e..14275289ba96 100644
--- a/src/Common/Commands.Common/Properties/Resources.Designer.cs
+++ b/src/Common/Commands.Common/Properties/Resources.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -690,6 +690,63 @@ public static string DatacenterBlobQuery {
}
}
+ ///
+ /// Looks up a localized string similar to Microsoft Azure PowerShell Data Collection Confirmation.
+ ///
+ public static string DataCollectionActivity {
+ get {
+ return ResourceManager.GetString("DataCollectionActivity", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You choose not to participate in Microsoft Azure PowerShell data collection..
+ ///
+ public static string DataCollectionConfirmNo {
+ get {
+ return ResourceManager.GetString("DataCollectionConfirmNo", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to This confirmation message will be dismissed in '{0}' second(s)....
+ ///
+ public static string DataCollectionConfirmTime {
+ get {
+ return ResourceManager.GetString("DataCollectionConfirmTime", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You choose to participate in Microsoft Azure PowerShell data collection..
+ ///
+ public static string DataCollectionConfirmYes {
+ get {
+ return ResourceManager.GetString("DataCollectionConfirmYes", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Microsoft Azure PowerShell collects data about how users use PowerShell cmdlets and some problems they encounter. Microsoft uses this information to improve our PowerShell cmdlets. Participation is voluntary and when you choose to participate your device automatically sends information to Microsoft about how you use Azure PowerShell.
+ ///
+ ///If you choose to participate, you can stop at any time by using Azure PowerShell as follows:
+ ///1. Use the Disable-AzureDataCollection cmdlet to turn the feature Off. The [rest of string was truncated]";.
+ ///
+ public static string DataCollectionPrompt {
+ get {
+ return ResourceManager.GetString("DataCollectionPrompt", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The setting profile has been saved to the following path '{0}'..
+ ///
+ public static string DataCollectionSaveFileInformation {
+ get {
+ return ResourceManager.GetString("DataCollectionSaveFileInformation", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Setting: {0} as the default and current subscription. To view other subscriptions use Get-AzureSubscription.
///
diff --git a/src/Common/Commands.Common/Properties/Resources.resx b/src/Common/Commands.Common/Properties/Resources.resx
index 6632412a642f..98ebeec2c58d 100644
--- a/src/Common/Commands.Common/Properties/Resources.resx
+++ b/src/Common/Commands.Common/Properties/Resources.resx
@@ -1468,4 +1468,32 @@ The file needs to be a PowerShell script (.ps1 or .psm1).
Cannot change built-in environment {0}.
+
+ Microsoft Azure PowerShell collects data about how users use PowerShell cmdlets and some problems they encounter. Microsoft uses this information to improve our PowerShell cmdlets. Participation is voluntary and when you choose to participate your device automatically sends information to Microsoft about how you use Azure PowerShell.
+
+If you choose to participate, you can stop at any time by using Azure PowerShell as follows:
+1. Use the Disable-AzureDataCollection cmdlet to turn the feature Off. The cmdlet can be found in the AzureResourceManager module
+To disable data collection: PS > Disable-AzureDataCollection
+
+If you choose to not participate, you can enable at any time by using Azure PowerShell as follows:
+1. Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can be found in the AzureResourceManager module
+To enable data collection: PS > Enable-AzureDataCollection
+
+Select Y to enable data collection [Y/N]:
+
+
+ Microsoft Azure PowerShell Data Collection Confirmation
+
+
+ You choose not to participate in Microsoft Azure PowerShell data collection.
+
+
+ This confirmation message will be dismissed in '{0}' second(s)...
+
+
+ You choose to participate in Microsoft Azure PowerShell data collection.
+
+
+ The setting profile has been saved to the following path '{0}'.
+
\ No newline at end of file
diff --git a/src/Common/Commands.Common/packages.config b/src/Common/Commands.Common/packages.config
index 3ec82649e831..e51545f5fd4f 100644
--- a/src/Common/Commands.Common/packages.config
+++ b/src/Common/Commands.Common/packages.config
@@ -1,6 +1,7 @@
+
diff --git a/src/Common/Commands.Profile/Commands.Profile.csproj b/src/Common/Commands.Profile/Commands.Profile.csproj
index 16be9cb12d53..219a1f13a5ac 100644
--- a/src/Common/Commands.Profile/Commands.Profile.csproj
+++ b/src/Common/Commands.Profile/Commands.Profile.csproj
@@ -136,6 +136,8 @@
+
+
diff --git a/src/Common/Commands.Profile/DataCollection/DisableAzureDataCollection.cs b/src/Common/Commands.Profile/DataCollection/DisableAzureDataCollection.cs
new file mode 100644
index 000000000000..b859bf6e7b77
--- /dev/null
+++ b/src/Common/Commands.Profile/DataCollection/DisableAzureDataCollection.cs
@@ -0,0 +1,30 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Utilities.Common;
+using System.Management.Automation;
+using System.Security.Permissions;
+
+namespace Microsoft.WindowsAzure.Commands.Profile
+{
+ [Cmdlet(VerbsLifecycle.Disable, "AzureDataCollection")]
+ public class DisableAzureDataCollectionCommand : EnableAzureDataCollectionCommand
+ {
+ [PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
+ public override void ExecuteCmdlet()
+ {
+ SetDataCollectionProfile(false);
+ }
+ }
+}
diff --git a/src/Common/Commands.Profile/DataCollection/EnableAzureDataCollection.cs b/src/Common/Commands.Profile/DataCollection/EnableAzureDataCollection.cs
new file mode 100644
index 000000000000..e65c69a9bd4f
--- /dev/null
+++ b/src/Common/Commands.Profile/DataCollection/EnableAzureDataCollection.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.Utilities.Common;
+using System.Management.Automation;
+using System.Security.Permissions;
+
+namespace Microsoft.WindowsAzure.Commands.Profile
+{
+ [Cmdlet(VerbsLifecycle.Enable, "AzureDataCollection")]
+ public class EnableAzureDataCollectionCommand : AzureSMCmdlet
+ {
+ [PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
+ public override void ExecuteCmdlet()
+ {
+ SetDataCollectionProfile(true);
+ }
+
+ protected void SetDataCollectionProfile(bool enable)
+ {
+ var profile = GetDataCollectionProfile();
+ profile.EnableAzureDataCollection = enable;
+ SaveDataCollectionProfile();
+ }
+ }
+}
diff --git a/src/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs b/src/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs
index 96994ead919b..bd1ada029762 100644
--- a/src/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs
+++ b/src/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs
@@ -16,6 +16,13 @@
using Microsoft.Azure.Common.Authentication;
using Microsoft.Azure.Common.Authentication.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using System.IO;
+using Newtonsoft.Json;
+using Microsoft.Azure.Commands.ResourceManager.Common.Properties;
+using System;
+using System.Threading;
+using System.Management.Automation.Host;
+using Microsoft.WindowsAzure.Commands.Common;
namespace Microsoft.Azure.Commands.ResourceManager.Common
{
@@ -52,5 +59,79 @@ protected override AzureContext DefaultContext
return DefaultProfile.DefaultContext;
}
}
+
+ protected override void SaveDataCollectionProfile()
+ {
+ if (_dataCollectionProfile == null)
+ {
+ InitializeDataCollectionProfile();
+ }
+
+ string fileFullPath = Path.Combine(AzureSession.ProfileDirectory, AzurePSDataCollectionProfile.DefaultFileName);
+ var contents = JsonConvert.SerializeObject(_dataCollectionProfile);
+ AzureSession.DataStore.WriteFile(fileFullPath, contents);
+ WriteWarning(string.Format(Resources.DataCollectionSaveFileInformation, fileFullPath));
+ }
+
+ protected override void PromptForDataCollectionProfileIfNotExists()
+ {
+ // Initialize it from the environment variable or profile file.
+ InitializeDataCollectionProfile();
+
+ if (!_dataCollectionProfile.EnableAzureDataCollection.HasValue && CheckIfInteractive())
+ {
+ WriteWarning(Resources.DataCollectionPrompt);
+
+ const double timeToWaitInSeconds = 60;
+ var status = string.Format(Resources.DataCollectionConfirmTime, timeToWaitInSeconds);
+ ProgressRecord record = new ProgressRecord(0, Resources.DataCollectionActivity, status);
+
+ var startTime = DateTime.Now;
+ var endTime = DateTime.Now;
+ double elapsedSeconds = 0;
+
+ while (!this.Host.UI.RawUI.KeyAvailable && elapsedSeconds < timeToWaitInSeconds)
+ {
+ Thread.Sleep(TimeSpan.FromMilliseconds(10));
+ endTime = DateTime.Now;
+
+ elapsedSeconds = (endTime - startTime).TotalSeconds;
+ record.PercentComplete = ((int)elapsedSeconds * 100 / (int)timeToWaitInSeconds);
+ WriteProgress(record);
+ }
+
+ bool enabled = false;
+ if (this.Host.UI.RawUI.KeyAvailable)
+ {
+ KeyInfo keyInfo = this.Host.UI.RawUI.ReadKey(ReadKeyOptions.NoEcho | ReadKeyOptions.AllowCtrlC | ReadKeyOptions.IncludeKeyDown);
+ enabled = (keyInfo.Character == 'Y' || keyInfo.Character == 'y');
+ }
+
+ _dataCollectionProfile.EnableAzureDataCollection = enabled;
+
+ WriteWarning(enabled ? Resources.DataCollectionConfirmYes : Resources.DataCollectionConfirmNo);
+
+ SaveDataCollectionProfile();
+ }
+ }
+
+ protected override void InitializeQosEvent()
+ {
+ //QosEvent = new AzurePSQoSEvent()
+ //{
+ // CmdletType = this.GetType().Name,
+ // IsSuccess = true,
+ //};
+
+ //if (this.DefaultContext != null && this.DefaultContext.Subscription != null)
+ //{
+ // QosEvent.Uid = MetricHelper.GenerateSha256HashString(
+ // this.DefaultContext.Subscription.Id.ToString());
+ //}
+ //else
+ //{
+ // QosEvent.Uid = "defaultid";
+ //}
+ }
}
}
diff --git a/src/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj b/src/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj
index 62da2d902735..1d8468a9dda6 100644
--- a/src/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj
+++ b/src/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj
@@ -53,6 +53,9 @@
False
..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll
+
+ ..\..\packages\Microsoft.ApplicationInsights.1.1.1-beta\lib\net45\Microsoft.ApplicationInsights.dll
+
False
..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
@@ -143,6 +146,9 @@
Common\AzurePowerShell.cs
+
+ Common\AzurePSDataCollectionProfile.cs
+
Common\CmdletExtensions.cs
@@ -155,15 +161,27 @@
Common\GeneralUtilities.cs
+
+ Common\MetricHelper.cs
+
Common\PowerShellUtilities.cs
+
+ Common\ProfileClientExtensions.cs
+
+
+ Common\PSAzureAccount.cs
+
Common\RecordingTracingInterceptor.cs
Common\SecureStringExtensions.cs
+
+ Common\TestMockSupport.cs
+
@@ -178,8 +196,9 @@
- ResXFileCodeGenerator
+ PublicResXFileCodeGenerator
Resources.Designer.cs
+ Designer
diff --git a/src/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs b/src/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs
index 826b427af001..4d7c2df97a6b 100644
--- a/src/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs
+++ b/src/Common/Commands.ResourceManager.Common/Properties/Resources.Designer.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Common.Properties {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
+ public class Resources {
private static global::System.Resources.ResourceManager resourceMan;
@@ -36,7 +36,7 @@ internal Resources() {
/// Returns the cached ResourceManager instance used by this class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
+ public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.ResourceManager.Common.Properties.Resources", typeof(Resources).Assembly);
@@ -51,7 +51,7 @@ internal Resources() {
/// resource lookups using this strongly typed resource class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
+ public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@@ -60,10 +60,76 @@ internal Resources() {
}
}
+ ///
+ /// Looks up a localized string similar to Microsoft Azure PowerShell Data Collection Confirmation.
+ ///
+ public static string DataCollectionActivity {
+ get {
+ return ResourceManager.GetString("DataCollectionActivity", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You choose not to participate in Microsoft Azure PowerShell data collection..
+ ///
+ public static string DataCollectionConfirmNo {
+ get {
+ return ResourceManager.GetString("DataCollectionConfirmNo", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to This confirmation message will be dismissed in '{0}' second(s)....
+ ///
+ public static string DataCollectionConfirmTime {
+ get {
+ return ResourceManager.GetString("DataCollectionConfirmTime", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You choose to participate in Microsoft Azure PowerShell data collection..
+ ///
+ public static string DataCollectionConfirmYes {
+ get {
+ return ResourceManager.GetString("DataCollectionConfirmYes", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Microsoft Azure PowerShell collects data about how users use PowerShell cmdlets and some problems they encounter. Microsoft uses this information to improve our PowerShell cmdlets. Participation is voluntary and when you choose to participate your device automatically sends information to Microsoft about how you use Azure PowerShell.
+ ///
+ ///If you choose to participate, you can stop at any time by using Azure PowerShell as follows:
+ ///1. Use the Disable-AzureDataCollection cmdlet to turn the feature Off. The [rest of string was truncated]";.
+ ///
+ public static string DataCollectionPrompt {
+ get {
+ return ResourceManager.GetString("DataCollectionPrompt", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The setting profile has been saved to the following path '{0}'..
+ ///
+ public static string DataCollectionSaveFileInformation {
+ get {
+ return ResourceManager.GetString("DataCollectionSaveFileInformation", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No default subscription has been designated. Use Select-AzureSubscription -Default <subscriptionName> to set the default subscription..
+ ///
+ public static string InvalidDefaultSubscription {
+ get {
+ return ResourceManager.GetString("InvalidDefaultSubscription", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Tenant '{0}' was not found. Please verify that your account has access to this tenant..
///
- internal static string TenantNotFound {
+ public static string TenantNotFound {
get {
return ResourceManager.GetString("TenantNotFound", resourceCulture);
}
diff --git a/src/Common/Commands.ResourceManager.Common/Properties/Resources.resx b/src/Common/Commands.ResourceManager.Common/Properties/Resources.resx
index 7e29fac28996..c5b53f978b1a 100644
--- a/src/Common/Commands.ResourceManager.Common/Properties/Resources.resx
+++ b/src/Common/Commands.ResourceManager.Common/Properties/Resources.resx
@@ -117,6 +117,37 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Microsoft Azure PowerShell Data Collection Confirmation
+
+
+ You choose not to participate in Microsoft Azure PowerShell data collection.
+
+
+ This confirmation message will be dismissed in '{0}' second(s)...
+
+
+ You choose to participate in Microsoft Azure PowerShell data collection.
+
+
+ Microsoft Azure PowerShell collects data about how users use PowerShell cmdlets and some problems they encounter. Microsoft uses this information to improve our PowerShell cmdlets. Participation is voluntary and when you choose to participate your device automatically sends information to Microsoft about how you use Azure PowerShell.
+
+If you choose to participate, you can stop at any time by using Azure PowerShell as follows:
+1. Use the Disable-AzureDataCollection cmdlet to turn the feature Off. The cmdlet can be found in the AzureResourceManager module
+To disable data collection: PS > Disable-AzureDataCollection
+
+If you choose to not participate, you can enable at any time by using Azure PowerShell as follows:
+1. Use the Enable-AzureDataCollection cmdlet to turn the feature On. The cmdlet can be found in the AzureResourceManager module
+To enable data collection: PS > Enable-AzureDataCollection
+
+Select Y to enable data collection [Y/N]:
+
+
+ The setting profile has been saved to the following path '{0}'.
+
+
+ No default subscription has been designated. Use Select-AzureSubscription -Default <subscriptionName> to set the default subscription.
+
Tenant '{0}' was not found. Please verify that your account has access to this tenant.
diff --git a/src/Common/Commands.ResourceManager.Common/packages.config b/src/Common/Commands.ResourceManager.Common/packages.config
index 3ec82649e831..e51545f5fd4f 100644
--- a/src/Common/Commands.ResourceManager.Common/packages.config
+++ b/src/Common/Commands.ResourceManager.Common/packages.config
@@ -1,6 +1,7 @@
+
diff --git a/src/Common/Commands.ResourceManager.Profile.Test/Commands.ResourceManager.Profile.Test.csproj b/src/Common/Commands.ResourceManager.Profile.Test/Commands.ResourceManager.Profile.Test.csproj
index b7b9311fa65c..0beb1ea5eaa5 100644
--- a/src/Common/Commands.ResourceManager.Profile.Test/Commands.ResourceManager.Profile.Test.csproj
+++ b/src/Common/Commands.ResourceManager.Profile.Test/Commands.ResourceManager.Profile.Test.csproj
@@ -195,9 +195,9 @@
{142d7b0b-388a-4ceb-a228-7f6d423c5c2e}
Commands.ResourceManager.Profile
-
- {c1bda476-a5cc-4394-914d-48b0ec31a710}
- Commands.ScenarioTests.Common
+
+ {3436a126-edc9-4060-8952-9a1be34cdd95}
+ Commands.ScenarioTests.ResourceManager.Common
diff --git a/src/Common/Commands.ResourceManager.Profile/LoginAzureRMAccount.cs b/src/Common/Commands.ResourceManager.Profile/LoginAzureRMAccount.cs
index 3d8f5d85bf7f..5fe806a4994e 100644
--- a/src/Common/Commands.ResourceManager.Profile/LoginAzureRMAccount.cs
+++ b/src/Common/Commands.ResourceManager.Profile/LoginAzureRMAccount.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Profile
///
[Cmdlet("Login", "AzureRMAccount", DefaultParameterSetName = "User")]
[OutputType(typeof(AzureRMProfile))]
- public class LoginAzureRMAccount : AzurePSCmdlet
+ public class LoginAzureRMAccount : AzureRMCmdlet
{
[Parameter(Mandatory = false, HelpMessage = "Environment containing the account to log into")]
[ValidateNotNullOrEmpty]
diff --git a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
index 0ee6526bc492..2fffe40d6ebe 100644
--- a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
+++ b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
@@ -242,6 +242,9 @@
Always
+
+ Always
+
Always
@@ -521,6 +524,10 @@
{58a78f29-8c0c-4a5e-893e-3953c0f29c8a}
Commands.ServiceManagement.Test
+
+ {492d2af2-950b-4f2e-8079-8794305313fd}
+ Commands.RemoteApp
+
{bc420543-c04e-4bf3-96e1-cd81b823bdd7}
Commands.Test.Utilities
diff --git a/src/Common/Commands.ScenarioTest/Resources/RemoteApp/RemoteAppCI_Test.ps1 b/src/Common/Commands.ScenarioTest/Resources/RemoteApp/RemoteAppCI_Test.ps1
new file mode 100644
index 000000000000..597728053050
--- /dev/null
+++ b/src/Common/Commands.ScenarioTest/Resources/RemoteApp/RemoteAppCI_Test.ps1
@@ -0,0 +1,256 @@
+ Set-Variable -Name VerbosePreference -Value Continue
+
+function PollingInterval()
+{
+ if ($env:AZURE_TEST_MODE -eq 'Playback')
+ {
+ $pollingIntervalSecs = 5
+ }
+ else
+ {
+ $pollingIntervalSecs = 60 * 5
+ }
+ $pollingIntervalSecs
+}
+
+function Assert([ScriptBlock] $Condition)
+{
+ if ((& $Condition) -eq $false)
+ {
+ throw "Assertion Failed $($Condition.ToString()): $(Get-PSCallStack | Out-String)"
+ }
+}
+
+<#
+ This will pick a location, image, billing plan and create a ARA App collection and returns the collection name.
+#>
+function CreateCloudCollection([string] $Collection)
+{
+
+ Write-Verbose "Entering $($MyInvocation.MyCommand.name)"
+ [PSObject[]] $locationList = Get-AzureRemoteAppLocation | % Name
+ Assert -Condition {$locationList -ne $null -or $locationList.Count -lt 1}
+
+ [PSObject[]] $templateImageList = Get-AzureRemoteAppTemplateImage | ? {$_.Type -eq 'Platform' -and $_.OfficeType -ne 'Office365'}
+ Assert -Condition {$templateImageList -ne $null -or $templateImageList.Count -lt 1}
+
+ $templateImage = $null
+ $locCounter = 0
+ $imageCounter = 0
+ $found = $false
+ do
+ {
+ $location = $locationList[$locCounter]
+ do
+ {
+ $templateImage = $templateImageList[$imageCounter]
+ if ($templateImage.RegionList -contains $location)
+ {
+ $found = $true
+ }
+
+ $imageCounter++
+ } while ($imageCounter -lt $templateImageList.Count -and -not $found)
+
+ $locCounter++
+ } while ($locCounter -lt $locationList.Count -and -not $found)
+
+ Assert -Condition {$found}
+
+ $billingPlans = Get-AzureRemoteAppPlan | % Name
+ $billingPlan = $billingPlans[0]
+ Assert -Condition {-not [String]::IsNullOrWhiteSpace($billingPlan)}
+
+ Write-Verbose "New-AzureRemoteAppCollection -CollectionName $Collection -ImageName $($templateImage.Name) -Plan $billingPlan -Location $location -Description 'Test Collection'"
+ $trackIdCollection = New-AzureRemoteAppCollection -CollectionName $Collection -ImageName $templateImage.Name -Plan $billingPlan -Location $location -Description 'Test Collection' -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ do
+ {
+ Write-Verbose "Waiting current time: $(Get-Date)"
+ sleep -Seconds (PollingInterval)
+
+ $collectionState = Get-AzureRemoteAppOperationResult -TrackingId $trackIdCollection.TrackingId -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ Write-Verbose "Collection state: $($collectionState.Status)"
+ } while ($collectionState.Status -eq 'InProgress' -or $collectionState.Status -eq 'Pending')
+
+ Assert -Condition {$collectionState.Status -eq 'Success'}
+ Write-Verbose "$($MyInvocation.MyCommand.name) succsssfully created this collection $Collection"
+}
+
+
+<#
+ This will pick a 5 applications to publish, verifies that they've been published and returns the Publishing Info.
+#>
+function PublishRemoteApplications([string] $Collection)
+{
+ Write-Verbose "Entering $($MyInvocation.MyCommand.name)"
+ $numOfApps = 5
+ $availablePrograms = Get-AzureRemoteAppStartMenuProgram $Collection -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ Assert({$availablePrograms.Count -ge $numOfApps})
+
+ $currentPrograms = Get-AzureRemoteAppProgram -CollectionName $Collection -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ $programsToPublish = $availablePrograms[0..2]
+ $programsToPublish += $availablePrograms[$($availablePrograms.Count-2)..$($availablePrograms.Count-1)]
+ Assert({$programsToPublish.Count -eq $numOfApps})
+ $applications = $programsToPublish | % {
+ Publish-AzureRemoteAppProgram -CollectionName $Collection -StartMenuAppId $_.StartMenuAppId -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+ }
+
+ $publishedPrograms = Get-AzureRemoteAppProgram -CollectionName $Collection -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ Assert -Condition {($publishedPrograms.Count - $currentPrograms.Count) -eq $numOfApps}
+
+ $applications | % {Write-Verbose "($([IO.FileInfo]$_.ApplicationVirtualPath))"}
+ Write-Verbose "$($MyInvocation.MyCommand.name) completed succsssfully"
+
+ $applications
+}
+
+
+<#
+ This will pick a add the given users to the collection.
+#>
+function AddRemoteAppUsers([string] $Collection, [string[]] $msaUsers)
+{
+ Write-Verbose "Entering $($MyInvocation.MyCommand.name)"
+ $previousUsers = Get-AzureRemoteAppUser -CollectionName $Collection -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ $msaUsers | % {
+ Add-AzureRemoteAppUser -CollectionName $Collection -Type MicrosoftAccount -UserUpn $_ -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+ }
+
+ $currentUsers = Get-AzureRemoteAppUser -CollectionName $Collection -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ Assert -Condition {($previousUsers.Count + $msaUsers.Count) -eq $currentUsers.Count}
+ Write-Verbose "$($MyInvocation.MyCommand.name) completed succsssfully"
+
+ $currentUsers | % {Write-Verbose "Username: $($_.Name),and Type: $($_.UserIdType)" }
+}
+
+<#
+ This will remove the given users from the collection.
+#>
+function RemoveRemoteAppUsers([string] $Collection, [string[]] $msaUsers)
+{
+ Write-Verbose "Entering $($MyInvocation.MyCommand.name)"
+ $previousUsers = Get-AzureRemoteAppUser -CollectionName $Collection -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ $msaUsers | % {
+ Remove-AzureRemoteAppUser -CollectionName $Collection -Type MicrosoftAccount -UserUpn $_ -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+ }
+
+ $currentUsers = Get-AzureRemoteAppUser -CollectionName $Collection -ErrorAction SilentlyContinue -ErrorVariable er
+ Assert -Condition {$currentUsers -eq $null}
+ Write-Verbose "$($MyInvocation.MyCommand.name) completed succsssfully"
+}
+
+<#
+ This will unpublish the specified applications from the collection.
+#>
+function UnpublishRemoteApplications([string] $Collection, [string[]] $applications)
+{
+ Write-Verbose "Entering $($MyInvocation.MyCommand.name)"
+ $applications | % {
+ Unpublish-AzureRemoteAppProgram -CollectionName $Collection -Alias $_ -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+ }
+
+ Sleep 60 # seconds
+ $remainingApps = Get-AzureRemoteAppProgram $Collection | % Alias
+
+ $failedToUnpublish = $remainingApps | ? {$applications -contains $_}
+ Assert -Condition {$failedToUnpublish -eq $null}
+ Write-Verbose "$($MyInvocation.MyCommand.name) completed succsssfully"
+}
+
+<#
+ This delete the collection
+#>
+function DeleteRemoteAppCollection([string] $Collection)
+{
+ Write-Verbose "Entering $($MyInvocation.MyCommand.name)"
+ $trackIdCollection = Remove-AzureRemoteAppCollection -CollectionName $Collection
+
+ do
+ {
+ Write-Verbose "Waiting current time: $(Get-Date)"
+ sleep -Seconds (PollingInterval)
+
+ $collectionState = Get-AzureRemoteAppOperationResult -TrackingId $trackIdCollection.TrackingId -ErrorAction SilentlyContinue -ErrorVariable er
+ if ($? -eq $false)
+ {
+ throw $er
+ }
+
+ Write-Verbose "Collection state: $($collectionState.Status)"
+ } while ($collectionState.Status -eq 'InProgress' -or $collectionState.Status -eq 'Pending')
+
+ Assert -Condition {$collectionState.Status -eq 'Success'}
+ Write-Verbose "$($MyInvocation.MyCommand.name) completed succsssfully"
+}
+
+
+function TestRemoteAppEndToEnd()
+{
+ $collection = 'CICollection'
+ $msaUsers = "auxtm259@live.com", "auxtm260@live.com", "auxtm261@live.com"
+
+ Write-Verbose "Starting current time: $(Get-Date)"
+ CreateCloudCollection $collection
+ $applications = PublishRemoteApplications $collection
+ AddRemoteAppUsers $collection $msaUsers
+ RemoveRemoteAppUsers $collection $msaUsers
+ UnpublishRemoteApplications $collection ($applications | % {$_.ApplicationAlias})
+ DeleteRemoteAppCollection $collection
+ Write-Verbose "Done current time: $(Get-Date)"
+}
diff --git a/src/Common/Commands.ScenarioTest/Resources/RemoteApp/TestRemoteAppEndToEnd.json b/src/Common/Commands.ScenarioTest/Resources/RemoteApp/TestRemoteAppEndToEnd.json
new file mode 100644
index 000000000000..11d0c0b43f0c
--- /dev/null
+++ b/src/Common/Commands.ScenarioTest/Resources/RemoteApp/TestRemoteAppEndToEnd.json
@@ -0,0 +1,2354 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/locations?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvbG9jYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"DisplayName\": \"West US\",\r\n \"Name\": \"West US\"\r\n },\r\n {\r\n \"DisplayName\": \"East US\",\r\n \"Name\": \"East US\"\r\n },\r\n {\r\n \"DisplayName\": \"East Asia\",\r\n \"Name\": \"East Asia\"\r\n },\r\n {\r\n \"DisplayName\": \"Southeast Asia\",\r\n \"Name\": \"Southeast Asia\"\r\n },\r\n {\r\n \"DisplayName\": \"North Europe\",\r\n \"Name\": \"North Europe\"\r\n },\r\n {\r\n \"DisplayName\": \"West Europe\",\r\n \"Name\": \"West Europe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "295"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "448d4c96648c918ca83b2e45dc33a5d3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:27 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/templateImages?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvdGVtcGxhdGVJbWFnZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"Id\": \"ad072bd3082149369c449ba5832401ae__Windows-Server-RDSHwO13P-on-Windows-Server-2012-R2-20150309-1850\",\r\n \"Name\": \"Windows Server RDSHwO13P on Windows Server 2012 R2\",\r\n \"NumberOfLinkedCollections\": 0,\r\n \"OfficeType\": 0,\r\n \"PathOnClient\": \"\",\r\n \"RegionList\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\"\r\n ],\r\n \"Sas\": \"\",\r\n \"SasExpiry\": \"1899-12-31T16:00:00-08:00\",\r\n \"Size\": 0,\r\n \"Status\": 8,\r\n \"TrialOnly\": false,\r\n \"Type\": 1,\r\n \"UploadCompleteTime\": \"2015-03-09T21:27:13.094Z\",\r\n \"UploadSetupTime\": \"2015-03-09T21:27:13.094Z\",\r\n \"UploadStartTime\": \"1899-12-31T16:00:00-08:00\",\r\n \"Uri\": \"\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "718"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "307009dc308192f4a4c128164d66fde6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:29 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/BillingPlans?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvQmlsbGluZ1BsYW5zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"AddOns\": \"\",\r\n \"CoresPerUser\": 0.25,\r\n \"MinimumBilledUserCount\": 20,\r\n \"PlanId\": \"19d0f014-6ead-4a5c-bd2b-ee5ae6c7f5c2\",\r\n \"PlanName\": \"Standard\"\r\n },\r\n {\r\n \"AddOns\": \"\",\r\n \"CoresPerUser\": 0.25,\r\n \"MinimumBilledUserCount\": 20,\r\n \"PlanId\": \"493d3553-a732-4764-b18c-a239982fdbec\",\r\n \"PlanName\": \"Basic\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "262"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "6a8ffa5a4b6f97a99acb2554eef6b999"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:32 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services?service=rdst15&action=register",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcz9zZXJ2aWNlPXJkc3QxNSZhY3Rpb249cmVnaXN0ZXI=",
+ "RequestMethod": "PUT",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n ConflictError\r\n The resource type rdst15 is already registered for this subscription.\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "231"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "5c2f34469c2091cbaba9c41c801672f3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:35 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 409
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections?PopulateOnly=false&api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnM/UG9wdWxhdGVPbmx5PWZhbHNlJmFwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"Name\": \"CICollection\",\r\n \"Description\": \"Test Collection\",\r\n \"TemplateImageName\": \"Windows Server RDSHwO13P on Windows Server 2012 R2\",\r\n \"BillingPlanName\": \"Standard\",\r\n \"ReadyForPublishing\": false,\r\n \"Mode\": 1,\r\n \"Region\": \"West US\",\r\n \"PublishedApplications\": [],\r\n \"AllowedPrincipals\": []\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "309"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-clouddv-tracking-id": [
+ "4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1"
+ ],
+ "x-remoteapp-operation-tracking-id": [
+ "4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1"
+ ],
+ "x-ms-request-id": [
+ "3ba27ab674089a27b09f6b7ad9d801a6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:39 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "d14e97697ae292a7a3c17bd8ce98addc"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:56:42 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "dfc908b82cbd90c79d0abaa40b52dfae"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:01:44 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "9b44214d2dfe9d8eb54731a5ddfa45ef"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:06:45 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "ea1a4368a1579bd381143dd28a1d3f99"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:11:48 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "c7e28ae5492a972a9240f05c8b6cb2a8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:16:49 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"Success\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "85"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "20e4edbacc1e900aa95c45913c4ccba1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:21:52 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/05e77332-a97a-4229-8e58-b17bf9829761.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=z7Uf%2Bx4nEL6i%2FTqz1HX2sB8jexvXu3JOjixT44Qlq4A%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/5b3039f5-2729-44ec-86b7-52df2cf25803.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=DlXfzsmGVI3VVVTFiz2Jm19emdy5r%2BWdCrYwWXYEEc8%3D\",\r\n \"Id\": \"04e6cae2-c709-4aba-a568-2b4aaad32af2\",\r\n \"Name\": \"OneDriveBusiness\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\GROOVE.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/ce329c74-2eeb-42fc-8d56-ee874412fb30.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=h%2B1uovb1klRqMQ5AKwjoxXS4EuRG9e3YJNuburqcGz0%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/1574b8fc-3b6e-4d16-a3c6-74c4931b95ae.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=NokEpBAqyb4Y2%2BhcDYW1JSzgm91B2gYOAq%2BBxTkFhNE%3D\",\r\n \"Id\": \"1d49a298-6656-4511-be81-2ac881850488\",\r\n \"Name\": \"PowerShell\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/604f0e64-d126-41d8-a381-2239367eb2a4.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=AaYlatL1nhSyw4osVtoqY%2BygCGCOOIoBy38lkDe3t7U%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/816715c7-3312-467a-a1ca-5ed444af3283.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=Y0ciz0xVl43Ra0qVkfmoy1XxdWj39WaUoeucbEjavkw%3D\",\r\n \"Id\": \"33f09af8-beec-4e14-94fd-2cdc3de17cb7\",\r\n \"Name\": \"PowerShellISE\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell_ise.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/2bd21834-16bd-4da0-bb48-11bf8df0ea91.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=7pmcPTALDiCYZGXI%2FAzDZ06VM5rq7xXD185MRqamuss%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d8b53b21-4f21-4c18-ab95-8b6b31a84afe.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=sJl%2BMYRcgb84J7yNZOW3powJbqYumJbzOr6n7W1SDtY%3D\",\r\n \"Id\": \"390e1a34-b1a2-49f5-9df5-533e8aad7a3b\",\r\n \"Name\": \"InternetExplorer\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Internet Explorer\\\\iexplore.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/68970bf6-b70f-418b-811c-dd97b0027868.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=87IpVvdQIS8VmwwUh8VbiwOei5ZtpU8Y%2FQl886GRQj4%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7d97719d-34aa-4b5b-a183-e672d379ba2e.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=4A1fU0s1zWsc7OVGrTgEKGen%2F3sykTaa68KPERQ5kfY%3D\",\r\n \"Id\": \"45bca3f6-056f-48e9-8f8c-ebcc5b929b55\",\r\n \"Name\": \"Visio\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/0d6f1c85-fcb9-4698-817c-73bd05281691.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=A%2B3V1L8L1X4Po1gqqDBwrDX1I230F2FxYEms%2F8CluBU%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/f4074b68-b286-484e-b083-5d3e8363e6e5.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=2tq%2F37I3cyXuEiSviesgMKYi1JoEzkP5nQihD%2BBBaww%3D\",\r\n \"Id\": \"5c4805e2-86f4-491f-9c10-ba6a2e267911\",\r\n \"Name\": \"Excel\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\EXCEL.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/00d254ac-bcc3-42e5-90db-2c25f2a04cd5.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=z1Rb70VAsAP0NuRi%2BZx6xEnLAu2%2FtWshOQOKhs7D%2FSM%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/6439cb47-115a-4e44-8176-8de3a918646a.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=GY1KLpWFdXDzbdCDr3r3YLIrQnshWFivNSuDvDW80BU%3D\",\r\n \"Id\": \"5eb6b22b-ffc5-43e0-9803-4e29da7d6234\",\r\n \"Name\": \"Project\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINPROJ.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7579deff-c2e4-41cd-a9a4-e02a49db4f60.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=ujuopqFiqaUa1ICgb8ljscn37mWlB3r5I4E%2F%2FyVHXOI%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/365e164c-d7af-4863-ba77-a48558b8458b.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=YdFIVPf1H1wL5sa2RGujzBaVt8xis3EaQGQu0XH2Cqg%3D\",\r\n \"Id\": \"834154e8-f861-4219-b0aa-d87e2c255a42\",\r\n \"Name\": \"Paint\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\mspaint.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/12570dff-3822-41e4-9e17-1f4fea892d9b.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=J68jFrl%2FPOMQ%2BpM29zUX8UxSrf31tKJoX7pZrphtPXY%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/c16b21b3-6ea2-4626-aa91-bcef76fa8871.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=glNyJIY2QAbAcky2dF05vVyezADt6OuRdBu%2FFNt5DcI%3D\",\r\n \"Id\": \"8c5bf021-e463-47d7-919d-58335de607c3\",\r\n \"Name\": \"OneNote\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\ONENOTE.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/1e14fe40-569d-4ac8-ac7c-247c21be2e0f.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=8PXQmasBPrJKDiOHLlpUc%2BxLeH3ZOT3Pd8jI%2FSOlj%2B4%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d140f629-6b13-42b9-bd94-703f6d8ad588.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=xKoTDx%2F8%2BmHsXmgq1SupUT0S6JOW%2BEkRGXIqljA%2FjEA%3D\",\r\n \"Id\": \"8c846901-f75a-4742-90d6-137223b52da7\",\r\n \"Name\": \"Calculator\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/0a51d73f-4c70-4634-af86-5cc5b82042e8.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=iHKJ7horBhzzk9DpNyRqsKtAWK1Uv23sYPLx8LPMgJI%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/ebb41248-2a4b-4894-bef4-152d82a688dc.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=E0qUTBIKwUUtgAu2zafBCB10s%2BDOBYWap9zNwiwI85c%3D\",\r\n \"Id\": \"90cf8d5e-b215-444e-b789-a3e7924716d8\",\r\n \"Name\": \"Outlook\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\OUTLOOK.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/18abd99d-236a-4b01-8d94-0c6e14b7d8d6.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=5PtQgbIpCY5qk9Mib%2FHLFp0qFGuf2C6XxfIjH4RHlpA%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7ea54f0e-8c3c-4015-a368-44957cec0e61.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=aiSPkSni8acvqz%2BDqDpaqi9KFvG9O%2Fo0vv3KIN%2FmLgk%3D\",\r\n \"Id\": \"9c694b6c-5f22-4d3b-a28c-dae98a6ab6c1\",\r\n \"Name\": \"Word\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/300ffed8-2db3-4c64-9dc9-b7b16ecc1b08.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=1chXUKs8oMepb57ndP5zAysGSsE4BlcYo6gTRAKZxOY%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/436a2ad1-86c9-4cca-8669-bfead5e7d1c4.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=2n%2FhSvhpaDrsNtR1Qx7jig1O%2BCYYKYM9dZkeDHbB2Fw%3D\",\r\n \"Id\": \"a79fbcbf-fa64-4d37-8098-eb31b713255d\",\r\n \"Name\": \"PowerPoint\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\POWERPNT.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/3002a03c-98f6-45c9-bae0-76e9199c721d.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=I28L%2FK5TP8KlkfWJT1RS%2F3A1rjH38blU2o%2Fbk8RojwA%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/947b4846-a342-40c6-a1c0-8190867b51d7.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=eceYh8ADxLAH3k9P3CMfXLkHf1JVT4XXdPB%2BOI%2BTKq4%3D\",\r\n \"Id\": \"bcbefc29-6de6-4e6e-b130-d92002966e2c\",\r\n \"Name\": \"Access\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/39dd5826-7a73-4a56-b0d7-c6c4aaed3cf3.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=AkWpiCZyzuD%2FxcWTm7yduEd2OcAkhuNhV%2BcpTYvyQik%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/a1bd2f0d-6316-4680-bd6c-f9db873abed3.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=ffpeM%2BN8EghHjgOCkpeAoGzsztoK492aJ%2FrePZuMPNo%3D\",\r\n \"Id\": \"cba99c82-a138-4c4a-93c1-d7c75c096649\",\r\n \"Name\": \"MediaPlayer\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Windows Media Player\\\\wmplayer.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d7e9a292-cf0e-4a66-8777-056cc9ec3be7.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=RPnIFAfS2e4vHauUluQEnnhKI8dVMbP%2B5CdwPpgslNM%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/5508ab86-9ab2-47e0-92aa-19785ccf3471.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=dKWYcYRE2xZw2Vfp9ilOfsgbDD1nE0f6G0MJMSfdPXE%3D\",\r\n \"Id\": \"db0205ad-1d77-4087-b142-5d8065f76224\",\r\n \"Name\": \"Adobe Reader XI\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/6b566fe3-88ee-4421-a87d-f66df361f0d6.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=tDyk%2B2OAfTFLpfm3CHLbduHpZjTpyn9TON5RR%2Fhh7M8%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/6ebee49b-9b8b-4371-b058-0468ddbf1257.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=sr5VM1r3qbzQ%2FUigoqqGye%2FkvOTe4rddEoj3%2B4MRj64%3D\",\r\n \"Id\": \"dcde01c2-6e75-42cc-a26a-c4f9b87281ab\",\r\n \"Name\": \"Lync\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\lync.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/be40d0a0-e1df-4e87-8b4b-373a5b00277f.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=ARXtQrxckijoh1E8Q1%2Fo%2F%2B5HQNX%2Bpa7owZBb75U16T0%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7fa93ba9-1bf0-4028-a79e-b1db1128c43a.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=9P3DpdpS3v0t4iw6wDLzt3rb3s5CXuY0o0%2BWgueEmes%3D\",\r\n \"Id\": \"f3414418-5f96-4f2d-82ea-89276bf82227\",\r\n \"Name\": \"cmd\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\cmd.exe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "11410"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "b69bd447aae99c65a61278a2e3d9d8d3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:21:55 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"Alias\": \"a6097b65-d038-41cf-947a-926b7c3dc722\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/cf366c04-66d0-4301-8f62-3b91896d3691.png?se=2015-05-04T23%3A52%3A03Z&sr=b&sp=r&sig=y%2FO5lD4KpYASNyyh5LXSFMsooXb3j04oGpdgykbIeo4%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/9166963c-542b-4c8c-b51b-b3fdbc02995b.ico?se=2015-05-04T23%3A52%3A03Z&sr=b&sp=r&sig=xObgseHegIC4XiBXwIhVcj3kx68Y%2FnuDLeDBstYo%2BR8%3D\",\r\n \"Name\": \"Paint\",\r\n \"Status\": 1,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\mspaint.exe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "611"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "0f55ca20ef899697bfdcc5f34f0359ca"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:21:58 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"Alias\": \"4f069c3c-f3a8-40a1-bc3e-d00df57805ae\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default32.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=1qhSvqWogQYLO8IhLczCS4jzVR76oFNmec9Kw%2FYQ31g%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=YE34CnUol0eOUuSsIl1TJ5QPalHpp%2FK1g%2FUfbE2BqS0%3D\",\r\n \"Name\": \"Word\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\"\r\n },\r\n {\r\n \"Alias\": \"958f7c37-fc93-4a6b-9659-c18c70e81692\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default32.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=1qhSvqWogQYLO8IhLczCS4jzVR76oFNmec9Kw%2FYQ31g%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=YE34CnUol0eOUuSsIl1TJ5QPalHpp%2FK1g%2FUfbE2BqS0%3D\",\r\n \"Name\": \"Visio\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\"\r\n },\r\n {\r\n \"Alias\": \"a6097b65-d038-41cf-947a-926b7c3dc722\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/cf366c04-66d0-4301-8f62-3b91896d3691.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=uSa0OyO4UT68QPloavZCEZK6GZA%2BgcnzxldvxMLiy70%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/9166963c-542b-4c8c-b51b-b3fdbc02995b.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=GbejIboQ6ebbJ5tWpBqV0DilgP1b7FBWn5Zq4rj4r1M%3D\",\r\n \"Name\": \"Paint\",\r\n \"Status\": 1,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\mspaint.exe\"\r\n },\r\n {\r\n \"Alias\": \"c902b11e-9d1d-45eb-82eb-6424f82c784f\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/83d8e64a-6225-4138-9d30-3c3b00510215.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=wLHunz58EdWo8inXERoTwJINd76Q0oyWVVTHKeELKnw%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/4d578ff4-9b86-4abd-a96e-c35ee261169a.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=FNZJPQmxO%2Fm2hTBGfG%2Fut3%2FIrZkIEypBBFGLu7ymyVc%3D\",\r\n \"Name\": \"Access\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\"\r\n },\r\n {\r\n \"Alias\": \"f23d48cb-9512-4b27-a89a-990a6e7f068f\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default32.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=1qhSvqWogQYLO8IhLczCS4jzVR76oFNmec9Kw%2FYQ31g%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=YE34CnUol0eOUuSsIl1TJ5QPalHpp%2FK1g%2FUfbE2BqS0%3D\",\r\n \"Name\": \"Adobe Reader XI\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\"\r\n },\r\n {\r\n \"Alias\": \"fd337514-db28-4bec-b8d7-90843462755b\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default32.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=1qhSvqWogQYLO8IhLczCS4jzVR76oFNmec9Kw%2FYQ31g%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=YE34CnUol0eOUuSsIl1TJ5QPalHpp%2FK1g%2FUfbE2BqS0%3D\",\r\n \"Name\": \"Calculator\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "3557"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "35e85864e8c490b3a3697dbdbd51d3c3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:20 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"Alias\": \"a6097b65-d038-41cf-947a-926b7c3dc722\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/cf366c04-66d0-4301-8f62-3b91896d3691.png?se=2015-05-04T23%3A54%3A01Z&sr=b&sp=r&sig=JmMEY9ZakuxaNNYCgOswgTE%2BWohXBMcOoO1QqVLdehE%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/9166963c-542b-4c8c-b51b-b3fdbc02995b.ico?se=2015-05-04T23%3A54%3A01Z&sr=b&sp=r&sig=rZxBTVhYaTsiTW9i6g6%2FWavwoDPN21TxhS9alv0U5Uc%3D\",\r\n \"Name\": \"Paint\",\r\n \"Status\": 1,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\mspaint.exe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "609"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "a7e297ca2c049d9aa5b436227e71cf8b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:23:57 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/bcbefc29-6de6-4e6e-b130-d92002966e2c?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvYmNiZWZjMjktNmRlNi00ZTZlLWIxMzAtZDkyMDAyOTY2ZTJjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/3002a03c-98f6-45c9-bae0-76e9199c721d.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A49Z&sr=b&sp=r&sig=JlrS4j8tgZD7MgTunAzk5ms99Sv%2FENgD8EivZSzHvvY%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/947b4846-a342-40c6-a1c0-8190867b51d7.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A49Z&sr=b&sp=r&sig=oYZv5jaHd5w6J2kbmyuO7MNi2l4LJPv1GXq55YI0TQ8%3D\",\r\n \"Id\": \"bcbefc29-6de6-4e6e-b130-d92002966e2c\",\r\n \"Name\": \"Access\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "631"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "58855f72b51e9655a064b86154978f10"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:01 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/947b4846-a342-40c6-a1c0-8190867b51d7.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A49Z&sr=b&sp=r&sig=oYZv5jaHd5w6J2kbmyuO7MNi2l4LJPv1GXq55YI0TQ8%3D\",\r\n \"Name\": \"Access\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/3002a03c-98f6-45c9-bae0-76e9199c721d.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A49Z&sr=b&sp=r&sig=JlrS4j8tgZD7MgTunAzk5ms99Sv%2FENgD8EivZSzHvvY%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "747"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"c902b11e-9d1d-45eb-82eb-6424f82c784f\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "194"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "419cbb93e16e9315ab040d08700b0273"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:04 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/5508ab86-9ab2-47e0-92aa-19785ccf3471.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A53Z&sr=b&sp=r&sig=hH%2FqX62tJk7z17lAnYuuhjU3jOk8n617tBC9cpqA2mU%3D\",\r\n \"Name\": \"Adobe Reader XI\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d7e9a292-cf0e-4a66-8777-056cc9ec3be7.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A53Z&sr=b&sp=r&sig=rk5xSs4hRsdvh6vC21kJUvYI7%2FiguoqS2dK7JNoFl6o%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "764"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"f23d48cb-9512-4b27-a89a-990a6e7f068f\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "9b86fe10fda4922da1d8b4f6a64de68a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:06 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d140f629-6b13-42b9-bd94-703f6d8ad588.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A57Z&sr=b&sp=r&sig=Tu7KKEA%2B3tUQBBnT2juqKhYrRo9YCO%2Fv9Dsxe0rw3oQ%3D\",\r\n \"Name\": \"Calculator\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/1e14fe40-569d-4ac8-ac7c-247c21be2e0f.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A57Z&sr=b&sp=r&sig=%2F%2Fnf7CPOj%2F%2BrryJVTDEjTNJ9Ao9QGR9F5xPh%2BGxF2qU%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "735"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"fd337514-db28-4bec-b8d7-90843462755b\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "166"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "036619463e069ebbb1d095911bb5e3fe"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:10 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7d97719d-34aa-4b5b-a183-e672d379ba2e.ico?sv=2012-02-12&se=2015-05-04T23%3A52%3A01Z&sr=b&sp=r&sig=jtGNoD9YO6EcylKW%2FJH0%2Fw2YHeLI%2F5jhljGPOVY4ZBA%3D\",\r\n \"Name\": \"Visio\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/68970bf6-b70f-418b-811c-dd97b0027868.png?sv=2012-02-12&se=2015-05-04T23%3A52%3A01Z&sr=b&sp=r&sig=UAYHC%2Fg5Vi3BeJapohkE%2BLeMrXzBufulT9CCz8xMKWo%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "751"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"958f7c37-fc93-4a6b-9659-c18c70e81692\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "191"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "601a6dc4372b93a39b93d0afda1b4658"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:15 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7ea54f0e-8c3c-4015-a368-44957cec0e61.ico?sv=2012-02-12&se=2015-05-04T23%3A52%3A05Z&sr=b&sp=r&sig=TwjOyxRIq3x7JUZ53206mdU%2FL40XbYZaC4pcZxbBqBo%3D\",\r\n \"Name\": \"Word\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/18abd99d-236a-4b01-8d94-0c6e14b7d8d6.png?sv=2012-02-12&se=2015-05-04T23%3A52%3A05Z&sr=b&sp=r&sig=yEFzV1xUpw7EoeM8RGMEO6WcX9EmBWTnSWf4I7JCF98%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "744"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"4f069c3c-f3a8-40a1-bc3e-d00df57805ae\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "193"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "298036e4e4ce9014ab0786c56b96edd9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:18 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/db0205ad-1d77-4087-b142-5d8065f76224?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvZGIwMjA1YWQtMWQ3Ny00MDg3LWIxNDItNWQ4MDY1Zjc2MjI0P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d7e9a292-cf0e-4a66-8777-056cc9ec3be7.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A53Z&sr=b&sp=r&sig=rk5xSs4hRsdvh6vC21kJUvYI7%2FiguoqS2dK7JNoFl6o%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/5508ab86-9ab2-47e0-92aa-19785ccf3471.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A53Z&sr=b&sp=r&sig=hH%2FqX62tJk7z17lAnYuuhjU3jOk8n617tBC9cpqA2mU%3D\",\r\n \"Id\": \"db0205ad-1d77-4087-b142-5d8065f76224\",\r\n \"Name\": \"Adobe Reader XI\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "648"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "8971af2234b29cc487fcfc6915b1d31f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:05 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/8c846901-f75a-4742-90d6-137223b52da7?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvOGM4NDY5MDEtZjc1YS00NzQyLTkwZDYtMTM3MjIzYjUyZGE3P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/1e14fe40-569d-4ac8-ac7c-247c21be2e0f.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A57Z&sr=b&sp=r&sig=%2F%2Fnf7CPOj%2F%2BrryJVTDEjTNJ9Ao9QGR9F5xPh%2BGxF2qU%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d140f629-6b13-42b9-bd94-703f6d8ad588.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A57Z&sr=b&sp=r&sig=Tu7KKEA%2B3tUQBBnT2juqKhYrRo9YCO%2Fv9Dsxe0rw3oQ%3D\",\r\n \"Id\": \"8c846901-f75a-4742-90d6-137223b52da7\",\r\n \"Name\": \"Calculator\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "619"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "33f18646622a95d0bfc56d3f2bc42d5d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:09 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/45bca3f6-056f-48e9-8f8c-ebcc5b929b55?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvNDViY2EzZjYtMDU2Zi00OGU5LThmOGMtZWJjYzViOTI5YjU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/68970bf6-b70f-418b-811c-dd97b0027868.png?sv=2012-02-12&se=2015-05-04T23%3A52%3A01Z&sr=b&sp=r&sig=UAYHC%2Fg5Vi3BeJapohkE%2BLeMrXzBufulT9CCz8xMKWo%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7d97719d-34aa-4b5b-a183-e672d379ba2e.ico?sv=2012-02-12&se=2015-05-04T23%3A52%3A01Z&sr=b&sp=r&sig=jtGNoD9YO6EcylKW%2FJH0%2Fw2YHeLI%2F5jhljGPOVY4ZBA%3D\",\r\n \"Id\": \"45bca3f6-056f-48e9-8f8c-ebcc5b929b55\",\r\n \"Name\": \"Visio\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "635"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "ed149286dd4e97caaddc55dc9d72430d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:13 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/9c694b6c-5f22-4d3b-a28c-dae98a6ab6c1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvOWM2OTRiNmMtNWYyMi00ZDNiLWEyOGMtZGFlOThhNmFiNmMxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/18abd99d-236a-4b01-8d94-0c6e14b7d8d6.png?sv=2012-02-12&se=2015-05-04T23%3A52%3A05Z&sr=b&sp=r&sig=yEFzV1xUpw7EoeM8RGMEO6WcX9EmBWTnSWf4I7JCF98%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7ea54f0e-8c3c-4015-a368-44957cec0e61.ico?sv=2012-02-12&se=2015-05-04T23%3A52%3A05Z&sr=b&sp=r&sig=TwjOyxRIq3x7JUZ53206mdU%2FL40XbYZaC4pcZxbBqBo%3D\",\r\n \"Id\": \"9c694b6c-5f22-4d3b-a28c-dae98a6ab6c1\",\r\n \"Name\": \"Word\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "628"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "e14659fd70f59e958308892c7a98c38f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:17 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj0=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": null,\r\n \"UserList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "40"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "136197bb86c790a0bdb54d83a2d5cf37"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:23 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj0=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": \"ae1c66a7-4126-46b2-9f90-b0d8b371dd48:0003bffdc3f8a510\",\r\n \"UserList\": [\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user1@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n },\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user2@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n },\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user3@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "462"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "1805f417ff199633af674262055e6ee3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:31 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj0=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": \"ae1c66a7-4126-46b2-9f90-b0d8b371dd48:0003bffdc3f8a510\",\r\n \"UserList\": [\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user1@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n },\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user2@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n },\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user3@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "462"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "8d9fd191a1c6983997110132ff733eee"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:35 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj0=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": null,\r\n \"UserList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "40"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "25c9d5d4b79b95aa85301cc037e5edb4"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:45 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user1@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "c47afdb3e52093668d7be31dfa81f795"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:25 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user2@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "fda0b9064af1947497799158f87040b6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:28 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user3@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "f6b4d0ccf1839159ac8b0721a71df9ef"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:31 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=ae1c66a7-4126-46b2-9f90-b0d8b371dd48:0003bffdc3f8a510",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj1hZTFjNjZhNy00MTI2LTQ2YjItOWY5MC1iMGQ4YjM3MWRkNDglM0EwMDAzYmZmZGMzZjhhNTEw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": null,\r\n \"UserList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "40"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "4a89e8fb15a094329565799f8999852b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:33 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=ae1c66a7-4126-46b2-9f90-b0d8b371dd48:0003bffdc3f8a510",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj1hZTFjNjZhNy00MTI2LTQ2YjItOWY5MC1iMGQ4YjM3MWRkNDglM0EwMDAzYmZmZGMzZjhhNTEw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": null,\r\n \"UserList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "40"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "88ebb7a5793b9e5ba76b705939b2a262"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:37 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user1@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "67e3ffb32f209466a1980c014118a690"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:39 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user2@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "35740d352cea99f7b00b8385fdb0bfd8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:40 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user3@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "4298340cfaaf9b66a9b545ac73065958"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:43 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"c902b11e-9d1d-45eb-82eb-6424f82c784f\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"c902b11e-9d1d-45eb-82eb-6424f82c784f\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "2f25fa43b98093d9a99be1862fcdf718"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:46 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"f23d48cb-9512-4b27-a89a-990a6e7f068f\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"f23d48cb-9512-4b27-a89a-990a6e7f068f\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "37de324e3bb093638abe3d50a61d4034"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:49 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"fd337514-db28-4bec-b8d7-90843462755b\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"fd337514-db28-4bec-b8d7-90843462755b\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "a06b8f0f7b0893a1a67d7ab3a45e568a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:51 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"958f7c37-fc93-4a6b-9659-c18c70e81692\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"958f7c37-fc93-4a6b-9659-c18c70e81692\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "f53f2deb9312976b9fd0334a24dab46d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:52 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"4f069c3c-f3a8-40a1-bc3e-d00df57805ae\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"4f069c3c-f3a8-40a1-bc3e-d00df57805ae\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "436b9a9762c49c7cb73d3fdd39148401"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:55 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-clouddv-tracking-id": [
+ "7ff70b85-a66a-408a-a7b6-3d2b947f210e"
+ ],
+ "x-remoteapp-operation-tracking-id": [
+ "7ff70b85-a66a-408a-a7b6-3d2b947f210e"
+ ],
+ "x-ms-request-id": [
+ "5dcdac48b48c9f71a72cfc4d52156020"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:23:59 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "5fbf3a553cc4966294cd5a89755796dd"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:29:01 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "4d880bd681c19e6da59e610d8c5c42c9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:34:04 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "10a818d8f61c995baa0205f4a355c5bb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:39:06 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "1d51b83e712d9935819dc3a5b78ede3a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:44:12 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "0eb999375dba9392b7d22f22b1807f07"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:49:14 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "e6763bbd194c9f0fae7955b31760d3db"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:54:17 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "1306d801dbc291329efbafee242cb888"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:59:18 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"Success\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "81"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "21f939fe830a991386d0f93a304e1264"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 05 May 2015 00:04:20 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "30da001a-1a9e-48a1-8b77-e5abcfe38bdc"
+ }
+}
\ No newline at end of file
diff --git a/src/Common/Commands.ScenarioTest/Resources/ServiceManagement/ServiceManagementTests.ps1 b/src/Common/Commands.ScenarioTest/Resources/ServiceManagement/ServiceManagementTests.ps1
index 7974ea8c0f7f..5523f1a0b989 100644
--- a/src/Common/Commands.ScenarioTest/Resources/ServiceManagement/ServiceManagementTests.ps1
+++ b/src/Common/Commands.ScenarioTest/Resources/ServiceManagement/ServiceManagementTests.ps1
@@ -590,4 +590,22 @@ function Run-ServiceDeploymentExtensionCmdletTests
# Cleanup
Cleanup-CloudService $svcName;
}
-}
\ No newline at end of file
+}
+
+# Run Data Collection Cmdlet Tests
+function Run-EnableAndDisableDataCollectionTests
+{
+ $st = Enable-AzureDataCollection;
+
+ $locations = Get-AzureLocation;
+ foreach ($loc in $locations)
+ {
+ $svcName = getAssetName;
+ $st = New-AzureService -ServiceName $svcName -Location $loc.Name;
+
+ # Cleanup
+ Cleanup-CloudService $svcName
+ }
+
+ $st = Disable-AzureDataCollection;
+}
diff --git a/src/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs b/src/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs
index 1af092da3d8a..4118c51f2f6d 100644
--- a/src/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs
+++ b/src/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs
@@ -125,5 +125,14 @@ public void RunServiceDeploymentExtensionCmdletTests()
{
this.RunPowerShellTest("Run-ServiceDeploymentExtensionCmdletTests");
}
+
+ [Fact]
+ [Trait(Category.Service, Category.ServiceManagement)]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ [Trait(Category.AcceptanceType, Category.BVT)]
+ public void RunEnableAndDisableDataCollectionTests()
+ {
+ this.RunPowerShellTest("Run-EnableAndDisableDataCollectionTests");
+ }
}
}
diff --git a/src/Common/Commands.ScenarioTest/SessionRecords/Microsoft.WindowsAzure.Commands.ScenarioTest.RemoteAppTest/TestRemoteAppEndToEnd.json b/src/Common/Commands.ScenarioTest/SessionRecords/Microsoft.WindowsAzure.Commands.ScenarioTest.RemoteAppTest/TestRemoteAppEndToEnd.json
new file mode 100644
index 000000000000..11d0c0b43f0c
--- /dev/null
+++ b/src/Common/Commands.ScenarioTest/SessionRecords/Microsoft.WindowsAzure.Commands.ScenarioTest.RemoteAppTest/TestRemoteAppEndToEnd.json
@@ -0,0 +1,2354 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/locations?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvbG9jYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"DisplayName\": \"West US\",\r\n \"Name\": \"West US\"\r\n },\r\n {\r\n \"DisplayName\": \"East US\",\r\n \"Name\": \"East US\"\r\n },\r\n {\r\n \"DisplayName\": \"East Asia\",\r\n \"Name\": \"East Asia\"\r\n },\r\n {\r\n \"DisplayName\": \"Southeast Asia\",\r\n \"Name\": \"Southeast Asia\"\r\n },\r\n {\r\n \"DisplayName\": \"North Europe\",\r\n \"Name\": \"North Europe\"\r\n },\r\n {\r\n \"DisplayName\": \"West Europe\",\r\n \"Name\": \"West Europe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "295"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "448d4c96648c918ca83b2e45dc33a5d3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:27 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/templateImages?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvdGVtcGxhdGVJbWFnZXM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"Id\": \"ad072bd3082149369c449ba5832401ae__Windows-Server-RDSHwO13P-on-Windows-Server-2012-R2-20150309-1850\",\r\n \"Name\": \"Windows Server RDSHwO13P on Windows Server 2012 R2\",\r\n \"NumberOfLinkedCollections\": 0,\r\n \"OfficeType\": 0,\r\n \"PathOnClient\": \"\",\r\n \"RegionList\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\"\r\n ],\r\n \"Sas\": \"\",\r\n \"SasExpiry\": \"1899-12-31T16:00:00-08:00\",\r\n \"Size\": 0,\r\n \"Status\": 8,\r\n \"TrialOnly\": false,\r\n \"Type\": 1,\r\n \"UploadCompleteTime\": \"2015-03-09T21:27:13.094Z\",\r\n \"UploadSetupTime\": \"2015-03-09T21:27:13.094Z\",\r\n \"UploadStartTime\": \"1899-12-31T16:00:00-08:00\",\r\n \"Uri\": \"\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "718"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "307009dc308192f4a4c128164d66fde6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:29 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/BillingPlans?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvQmlsbGluZ1BsYW5zP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"AddOns\": \"\",\r\n \"CoresPerUser\": 0.25,\r\n \"MinimumBilledUserCount\": 20,\r\n \"PlanId\": \"19d0f014-6ead-4a5c-bd2b-ee5ae6c7f5c2\",\r\n \"PlanName\": \"Standard\"\r\n },\r\n {\r\n \"AddOns\": \"\",\r\n \"CoresPerUser\": 0.25,\r\n \"MinimumBilledUserCount\": 20,\r\n \"PlanId\": \"493d3553-a732-4764-b18c-a239982fdbec\",\r\n \"PlanName\": \"Basic\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "262"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "6a8ffa5a4b6f97a99acb2554eef6b999"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:32 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services?service=rdst15&action=register",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcz9zZXJ2aWNlPXJkc3QxNSZhY3Rpb249cmVnaXN0ZXI=",
+ "RequestMethod": "PUT",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n ConflictError\r\n The resource type rdst15 is already registered for this subscription.\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "231"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "5c2f34469c2091cbaba9c41c801672f3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:35 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 409
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections?PopulateOnly=false&api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnM/UG9wdWxhdGVPbmx5PWZhbHNlJmFwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"Name\": \"CICollection\",\r\n \"Description\": \"Test Collection\",\r\n \"TemplateImageName\": \"Windows Server RDSHwO13P on Windows Server 2012 R2\",\r\n \"BillingPlanName\": \"Standard\",\r\n \"ReadyForPublishing\": false,\r\n \"Mode\": 1,\r\n \"Region\": \"West US\",\r\n \"PublishedApplications\": [],\r\n \"AllowedPrincipals\": []\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "309"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-clouddv-tracking-id": [
+ "4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1"
+ ],
+ "x-remoteapp-operation-tracking-id": [
+ "4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1"
+ ],
+ "x-ms-request-id": [
+ "3ba27ab674089a27b09f6b7ad9d801a6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:51:39 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "d14e97697ae292a7a3c17bd8ce98addc"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 22:56:42 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "dfc908b82cbd90c79d0abaa40b52dfae"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:01:44 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "9b44214d2dfe9d8eb54731a5ddfa45ef"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:06:45 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "ea1a4368a1579bd381143dd28a1d3f99"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:11:48 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "88"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "c7e28ae5492a972a9240f05c8b6cb2a8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:16:49 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/4b78fe67-9e7f-45ef-ac6d-9ad1d77b0ee1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy80Yjc4ZmU2Ny05ZTdmLTQ1ZWYtYWM2ZC05YWQxZDc3YjBlZTE/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"CreateFreshDeployment_Domain\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"Success\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "85"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "20e4edbacc1e900aa95c45913c4ccba1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:21:52 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/05e77332-a97a-4229-8e58-b17bf9829761.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=z7Uf%2Bx4nEL6i%2FTqz1HX2sB8jexvXu3JOjixT44Qlq4A%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/5b3039f5-2729-44ec-86b7-52df2cf25803.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=DlXfzsmGVI3VVVTFiz2Jm19emdy5r%2BWdCrYwWXYEEc8%3D\",\r\n \"Id\": \"04e6cae2-c709-4aba-a568-2b4aaad32af2\",\r\n \"Name\": \"OneDriveBusiness\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\GROOVE.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/ce329c74-2eeb-42fc-8d56-ee874412fb30.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=h%2B1uovb1klRqMQ5AKwjoxXS4EuRG9e3YJNuburqcGz0%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/1574b8fc-3b6e-4d16-a3c6-74c4931b95ae.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=NokEpBAqyb4Y2%2BhcDYW1JSzgm91B2gYOAq%2BBxTkFhNE%3D\",\r\n \"Id\": \"1d49a298-6656-4511-be81-2ac881850488\",\r\n \"Name\": \"PowerShell\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/604f0e64-d126-41d8-a381-2239367eb2a4.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=AaYlatL1nhSyw4osVtoqY%2BygCGCOOIoBy38lkDe3t7U%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/816715c7-3312-467a-a1ca-5ed444af3283.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=Y0ciz0xVl43Ra0qVkfmoy1XxdWj39WaUoeucbEjavkw%3D\",\r\n \"Id\": \"33f09af8-beec-4e14-94fd-2cdc3de17cb7\",\r\n \"Name\": \"PowerShellISE\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell_ise.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/2bd21834-16bd-4da0-bb48-11bf8df0ea91.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=7pmcPTALDiCYZGXI%2FAzDZ06VM5rq7xXD185MRqamuss%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d8b53b21-4f21-4c18-ab95-8b6b31a84afe.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=sJl%2BMYRcgb84J7yNZOW3powJbqYumJbzOr6n7W1SDtY%3D\",\r\n \"Id\": \"390e1a34-b1a2-49f5-9df5-533e8aad7a3b\",\r\n \"Name\": \"InternetExplorer\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Internet Explorer\\\\iexplore.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/68970bf6-b70f-418b-811c-dd97b0027868.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=87IpVvdQIS8VmwwUh8VbiwOei5ZtpU8Y%2FQl886GRQj4%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7d97719d-34aa-4b5b-a183-e672d379ba2e.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=4A1fU0s1zWsc7OVGrTgEKGen%2F3sykTaa68KPERQ5kfY%3D\",\r\n \"Id\": \"45bca3f6-056f-48e9-8f8c-ebcc5b929b55\",\r\n \"Name\": \"Visio\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/0d6f1c85-fcb9-4698-817c-73bd05281691.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=A%2B3V1L8L1X4Po1gqqDBwrDX1I230F2FxYEms%2F8CluBU%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/f4074b68-b286-484e-b083-5d3e8363e6e5.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=2tq%2F37I3cyXuEiSviesgMKYi1JoEzkP5nQihD%2BBBaww%3D\",\r\n \"Id\": \"5c4805e2-86f4-491f-9c10-ba6a2e267911\",\r\n \"Name\": \"Excel\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\EXCEL.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/00d254ac-bcc3-42e5-90db-2c25f2a04cd5.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=z1Rb70VAsAP0NuRi%2BZx6xEnLAu2%2FtWshOQOKhs7D%2FSM%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/6439cb47-115a-4e44-8176-8de3a918646a.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=GY1KLpWFdXDzbdCDr3r3YLIrQnshWFivNSuDvDW80BU%3D\",\r\n \"Id\": \"5eb6b22b-ffc5-43e0-9803-4e29da7d6234\",\r\n \"Name\": \"Project\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINPROJ.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7579deff-c2e4-41cd-a9a4-e02a49db4f60.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=ujuopqFiqaUa1ICgb8ljscn37mWlB3r5I4E%2F%2FyVHXOI%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/365e164c-d7af-4863-ba77-a48558b8458b.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=YdFIVPf1H1wL5sa2RGujzBaVt8xis3EaQGQu0XH2Cqg%3D\",\r\n \"Id\": \"834154e8-f861-4219-b0aa-d87e2c255a42\",\r\n \"Name\": \"Paint\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\mspaint.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/12570dff-3822-41e4-9e17-1f4fea892d9b.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=J68jFrl%2FPOMQ%2BpM29zUX8UxSrf31tKJoX7pZrphtPXY%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/c16b21b3-6ea2-4626-aa91-bcef76fa8871.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=glNyJIY2QAbAcky2dF05vVyezADt6OuRdBu%2FFNt5DcI%3D\",\r\n \"Id\": \"8c5bf021-e463-47d7-919d-58335de607c3\",\r\n \"Name\": \"OneNote\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\ONENOTE.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/1e14fe40-569d-4ac8-ac7c-247c21be2e0f.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=8PXQmasBPrJKDiOHLlpUc%2BxLeH3ZOT3Pd8jI%2FSOlj%2B4%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d140f629-6b13-42b9-bd94-703f6d8ad588.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=xKoTDx%2F8%2BmHsXmgq1SupUT0S6JOW%2BEkRGXIqljA%2FjEA%3D\",\r\n \"Id\": \"8c846901-f75a-4742-90d6-137223b52da7\",\r\n \"Name\": \"Calculator\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/0a51d73f-4c70-4634-af86-5cc5b82042e8.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=iHKJ7horBhzzk9DpNyRqsKtAWK1Uv23sYPLx8LPMgJI%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/ebb41248-2a4b-4894-bef4-152d82a688dc.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=E0qUTBIKwUUtgAu2zafBCB10s%2BDOBYWap9zNwiwI85c%3D\",\r\n \"Id\": \"90cf8d5e-b215-444e-b789-a3e7924716d8\",\r\n \"Name\": \"Outlook\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\OUTLOOK.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/18abd99d-236a-4b01-8d94-0c6e14b7d8d6.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=5PtQgbIpCY5qk9Mib%2FHLFp0qFGuf2C6XxfIjH4RHlpA%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7ea54f0e-8c3c-4015-a368-44957cec0e61.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=aiSPkSni8acvqz%2BDqDpaqi9KFvG9O%2Fo0vv3KIN%2FmLgk%3D\",\r\n \"Id\": \"9c694b6c-5f22-4d3b-a28c-dae98a6ab6c1\",\r\n \"Name\": \"Word\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/300ffed8-2db3-4c64-9dc9-b7b16ecc1b08.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=1chXUKs8oMepb57ndP5zAysGSsE4BlcYo6gTRAKZxOY%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/436a2ad1-86c9-4cca-8669-bfead5e7d1c4.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=2n%2FhSvhpaDrsNtR1Qx7jig1O%2BCYYKYM9dZkeDHbB2Fw%3D\",\r\n \"Id\": \"a79fbcbf-fa64-4d37-8098-eb31b713255d\",\r\n \"Name\": \"PowerPoint\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\POWERPNT.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/3002a03c-98f6-45c9-bae0-76e9199c721d.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=I28L%2FK5TP8KlkfWJT1RS%2F3A1rjH38blU2o%2Fbk8RojwA%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/947b4846-a342-40c6-a1c0-8190867b51d7.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=eceYh8ADxLAH3k9P3CMfXLkHf1JVT4XXdPB%2BOI%2BTKq4%3D\",\r\n \"Id\": \"bcbefc29-6de6-4e6e-b130-d92002966e2c\",\r\n \"Name\": \"Access\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/39dd5826-7a73-4a56-b0d7-c6c4aaed3cf3.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=AkWpiCZyzuD%2FxcWTm7yduEd2OcAkhuNhV%2BcpTYvyQik%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/a1bd2f0d-6316-4680-bd6c-f9db873abed3.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=ffpeM%2BN8EghHjgOCkpeAoGzsztoK492aJ%2FrePZuMPNo%3D\",\r\n \"Id\": \"cba99c82-a138-4c4a-93c1-d7c75c096649\",\r\n \"Name\": \"MediaPlayer\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Windows Media Player\\\\wmplayer.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d7e9a292-cf0e-4a66-8777-056cc9ec3be7.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=RPnIFAfS2e4vHauUluQEnnhKI8dVMbP%2B5CdwPpgslNM%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/5508ab86-9ab2-47e0-92aa-19785ccf3471.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=dKWYcYRE2xZw2Vfp9ilOfsgbDD1nE0f6G0MJMSfdPXE%3D\",\r\n \"Id\": \"db0205ad-1d77-4087-b142-5d8065f76224\",\r\n \"Name\": \"Adobe Reader XI\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/6b566fe3-88ee-4421-a87d-f66df361f0d6.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=tDyk%2B2OAfTFLpfm3CHLbduHpZjTpyn9TON5RR%2Fhh7M8%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/6ebee49b-9b8b-4371-b058-0468ddbf1257.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=sr5VM1r3qbzQ%2FUigoqqGye%2FkvOTe4rddEoj3%2B4MRj64%3D\",\r\n \"Id\": \"dcde01c2-6e75-42cc-a26a-c4f9b87281ab\",\r\n \"Name\": \"Lync\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\lync.exe\"\r\n },\r\n {\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/be40d0a0-e1df-4e87-8b4b-373a5b00277f.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=ARXtQrxckijoh1E8Q1%2Fo%2F%2B5HQNX%2Bpa7owZBb75U16T0%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7fa93ba9-1bf0-4028-a79e-b1db1128c43a.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A44Z&sr=b&sp=r&sig=9P3DpdpS3v0t4iw6wDLzt3rb3s5CXuY0o0%2BWgueEmes%3D\",\r\n \"Id\": \"f3414418-5f96-4f2d-82ea-89276bf82227\",\r\n \"Name\": \"cmd\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\cmd.exe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "11410"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "b69bd447aae99c65a61278a2e3d9d8d3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:21:55 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"Alias\": \"a6097b65-d038-41cf-947a-926b7c3dc722\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/cf366c04-66d0-4301-8f62-3b91896d3691.png?se=2015-05-04T23%3A52%3A03Z&sr=b&sp=r&sig=y%2FO5lD4KpYASNyyh5LXSFMsooXb3j04oGpdgykbIeo4%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/9166963c-542b-4c8c-b51b-b3fdbc02995b.ico?se=2015-05-04T23%3A52%3A03Z&sr=b&sp=r&sig=xObgseHegIC4XiBXwIhVcj3kx68Y%2FnuDLeDBstYo%2BR8%3D\",\r\n \"Name\": \"Paint\",\r\n \"Status\": 1,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\mspaint.exe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "611"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "0f55ca20ef899697bfdcc5f34f0359ca"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:21:58 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"Alias\": \"4f069c3c-f3a8-40a1-bc3e-d00df57805ae\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default32.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=1qhSvqWogQYLO8IhLczCS4jzVR76oFNmec9Kw%2FYQ31g%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=YE34CnUol0eOUuSsIl1TJ5QPalHpp%2FK1g%2FUfbE2BqS0%3D\",\r\n \"Name\": \"Word\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\"\r\n },\r\n {\r\n \"Alias\": \"958f7c37-fc93-4a6b-9659-c18c70e81692\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default32.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=1qhSvqWogQYLO8IhLczCS4jzVR76oFNmec9Kw%2FYQ31g%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=YE34CnUol0eOUuSsIl1TJ5QPalHpp%2FK1g%2FUfbE2BqS0%3D\",\r\n \"Name\": \"Visio\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\"\r\n },\r\n {\r\n \"Alias\": \"a6097b65-d038-41cf-947a-926b7c3dc722\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/cf366c04-66d0-4301-8f62-3b91896d3691.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=uSa0OyO4UT68QPloavZCEZK6GZA%2BgcnzxldvxMLiy70%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/9166963c-542b-4c8c-b51b-b3fdbc02995b.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=GbejIboQ6ebbJ5tWpBqV0DilgP1b7FBWn5Zq4rj4r1M%3D\",\r\n \"Name\": \"Paint\",\r\n \"Status\": 1,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\mspaint.exe\"\r\n },\r\n {\r\n \"Alias\": \"c902b11e-9d1d-45eb-82eb-6424f82c784f\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/83d8e64a-6225-4138-9d30-3c3b00510215.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=wLHunz58EdWo8inXERoTwJINd76Q0oyWVVTHKeELKnw%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/4d578ff4-9b86-4abd-a96e-c35ee261169a.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=FNZJPQmxO%2Fm2hTBGfG%2Fut3%2FIrZkIEypBBFGLu7ymyVc%3D\",\r\n \"Name\": \"Access\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\"\r\n },\r\n {\r\n \"Alias\": \"f23d48cb-9512-4b27-a89a-990a6e7f068f\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default32.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=1qhSvqWogQYLO8IhLczCS4jzVR76oFNmec9Kw%2FYQ31g%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=YE34CnUol0eOUuSsIl1TJ5QPalHpp%2FK1g%2FUfbE2BqS0%3D\",\r\n \"Name\": \"Adobe Reader XI\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\"\r\n },\r\n {\r\n \"Alias\": \"fd337514-db28-4bec-b8d7-90843462755b\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": null,\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default32.png?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=1qhSvqWogQYLO8IhLczCS4jzVR76oFNmec9Kw%2FYQ31g%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/default.ico?se=2015-05-04T23%3A52%3A25Z&sr=b&sp=r&sig=YE34CnUol0eOUuSsIl1TJ5QPalHpp%2FK1g%2FUfbE2BqS0%3D\",\r\n \"Name\": \"Calculator\",\r\n \"Status\": 0,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "3557"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "35e85864e8c490b3a3697dbdbd51d3c3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:20 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"Alias\": \"a6097b65-d038-41cf-947a-926b7c3dc722\",\r\n \"AvailableToUsers\": true,\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/cf366c04-66d0-4301-8f62-3b91896d3691.png?se=2015-05-04T23%3A54%3A01Z&sr=b&sp=r&sig=JmMEY9ZakuxaNNYCgOswgTE%2BWohXBMcOoO1QqVLdehE%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvtest15rdcx.blob.core.windows.net/icons/9166963c-542b-4c8c-b51b-b3fdbc02995b.ico?se=2015-05-04T23%3A54%3A01Z&sr=b&sp=r&sig=rZxBTVhYaTsiTW9i6g6%2FWavwoDPN21TxhS9alv0U5Uc%3D\",\r\n \"Name\": \"Paint\",\r\n \"Status\": 1,\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\mspaint.exe\"\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "609"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "a7e297ca2c049d9aa5b436227e71cf8b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:23:57 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/bcbefc29-6de6-4e6e-b130-d92002966e2c?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvYmNiZWZjMjktNmRlNi00ZTZlLWIxMzAtZDkyMDAyOTY2ZTJjP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/3002a03c-98f6-45c9-bae0-76e9199c721d.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A49Z&sr=b&sp=r&sig=JlrS4j8tgZD7MgTunAzk5ms99Sv%2FENgD8EivZSzHvvY%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/947b4846-a342-40c6-a1c0-8190867b51d7.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A49Z&sr=b&sp=r&sig=oYZv5jaHd5w6J2kbmyuO7MNi2l4LJPv1GXq55YI0TQ8%3D\",\r\n \"Id\": \"bcbefc29-6de6-4e6e-b130-d92002966e2c\",\r\n \"Name\": \"Access\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "631"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "58855f72b51e9655a064b86154978f10"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:01 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/947b4846-a342-40c6-a1c0-8190867b51d7.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A49Z&sr=b&sp=r&sig=oYZv5jaHd5w6J2kbmyuO7MNi2l4LJPv1GXq55YI0TQ8%3D\",\r\n \"Name\": \"Access\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/3002a03c-98f6-45c9-bae0-76e9199c721d.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A49Z&sr=b&sp=r&sig=JlrS4j8tgZD7MgTunAzk5ms99Sv%2FENgD8EivZSzHvvY%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "747"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"c902b11e-9d1d-45eb-82eb-6424f82c784f\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\MSACCESS.EXE\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "194"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "419cbb93e16e9315ab040d08700b0273"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:04 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/5508ab86-9ab2-47e0-92aa-19785ccf3471.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A53Z&sr=b&sp=r&sig=hH%2FqX62tJk7z17lAnYuuhjU3jOk8n617tBC9cpqA2mU%3D\",\r\n \"Name\": \"Adobe Reader XI\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d7e9a292-cf0e-4a66-8777-056cc9ec3be7.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A53Z&sr=b&sp=r&sig=rk5xSs4hRsdvh6vC21kJUvYI7%2FiguoqS2dK7JNoFl6o%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "764"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"f23d48cb-9512-4b27-a89a-990a6e7f068f\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "9b86fe10fda4922da1d8b4f6a64de68a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:06 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d140f629-6b13-42b9-bd94-703f6d8ad588.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A57Z&sr=b&sp=r&sig=Tu7KKEA%2B3tUQBBnT2juqKhYrRo9YCO%2Fv9Dsxe0rw3oQ%3D\",\r\n \"Name\": \"Calculator\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/1e14fe40-569d-4ac8-ac7c-247c21be2e0f.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A57Z&sr=b&sp=r&sig=%2F%2Fnf7CPOj%2F%2BrryJVTDEjTNJ9Ao9QGR9F5xPh%2BGxF2qU%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "735"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"fd337514-db28-4bec-b8d7-90843462755b\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "166"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "036619463e069ebbb1d095911bb5e3fe"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:10 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7d97719d-34aa-4b5b-a183-e672d379ba2e.ico?sv=2012-02-12&se=2015-05-04T23%3A52%3A01Z&sr=b&sp=r&sig=jtGNoD9YO6EcylKW%2FJH0%2Fw2YHeLI%2F5jhljGPOVY4ZBA%3D\",\r\n \"Name\": \"Visio\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/68970bf6-b70f-418b-811c-dd97b0027868.png?sv=2012-02-12&se=2015-05-04T23%3A52%3A01Z&sr=b&sp=r&sig=UAYHC%2Fg5Vi3BeJapohkE%2BLeMrXzBufulT9CCz8xMKWo%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "751"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"958f7c37-fc93-4a6b-9659-c18c70e81692\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "191"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "601a6dc4372b93a39b93d0afda1b4658"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:15 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"AvailableToUsers\": true,\r\n \"Alias\": \"\",\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7ea54f0e-8c3c-4015-a368-44957cec0e61.ico?sv=2012-02-12&se=2015-05-04T23%3A52%3A05Z&sr=b&sp=r&sig=TwjOyxRIq3x7JUZ53206mdU%2FL40XbYZaC4pcZxbBqBo%3D\",\r\n \"Name\": \"Word\",\r\n \"Status\": 0,\r\n \"IconPngUris\": {\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": \"32\",\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/18abd99d-236a-4b01-8d94-0c6e14b7d8d6.png?sv=2012-02-12&se=2015-05-04T23%3A52%3A05Z&sr=b&sp=r&sig=yEFzV1xUpw7EoeM8RGMEO6WcX9EmBWTnSWf4I7JCF98%3D\"\r\n }\r\n ]\r\n },\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "744"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"4f069c3c-f3a8-40a1-bc3e-d00df57805ae\",\r\n \"ApplicationVirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\",\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "193"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "298036e4e4ce9014ab0786c56b96edd9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:18 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/db0205ad-1d77-4087-b142-5d8065f76224?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvZGIwMjA1YWQtMWQ3Ny00MDg3LWIxNDItNWQ4MDY1Zjc2MjI0P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d7e9a292-cf0e-4a66-8777-056cc9ec3be7.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A53Z&sr=b&sp=r&sig=rk5xSs4hRsdvh6vC21kJUvYI7%2FiguoqS2dK7JNoFl6o%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/5508ab86-9ab2-47e0-92aa-19785ccf3471.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A53Z&sr=b&sp=r&sig=hH%2FqX62tJk7z17lAnYuuhjU3jOk8n617tBC9cpqA2mU%3D\",\r\n \"Id\": \"db0205ad-1d77-4087-b142-5d8065f76224\",\r\n \"Name\": \"Adobe Reader XI\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files (x86)\\\\Adobe\\\\Reader 11.0\\\\Reader\\\\AcroRd32.exe\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "648"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "8971af2234b29cc487fcfc6915b1d31f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:05 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/8c846901-f75a-4742-90d6-137223b52da7?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvOGM4NDY5MDEtZjc1YS00NzQyLTkwZDYtMTM3MjIzYjUyZGE3P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/1e14fe40-569d-4ac8-ac7c-247c21be2e0f.png?sv=2012-02-12&se=2015-05-04T23%3A51%3A57Z&sr=b&sp=r&sig=%2F%2Fnf7CPOj%2F%2BrryJVTDEjTNJ9Ao9QGR9F5xPh%2BGxF2qU%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/d140f629-6b13-42b9-bd94-703f6d8ad588.ico?sv=2012-02-12&se=2015-05-04T23%3A51%3A57Z&sr=b&sp=r&sig=Tu7KKEA%2B3tUQBBnT2juqKhYrRo9YCO%2Fv9Dsxe0rw3oQ%3D\",\r\n \"Id\": \"8c846901-f75a-4742-90d6-137223b52da7\",\r\n \"Name\": \"Calculator\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Windows\\\\System32\\\\calc.exe\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "619"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "33f18646622a95d0bfc56d3f2bc42d5d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:09 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/45bca3f6-056f-48e9-8f8c-ebcc5b929b55?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvNDViY2EzZjYtMDU2Zi00OGU5LThmOGMtZWJjYzViOTI5YjU1P2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/68970bf6-b70f-418b-811c-dd97b0027868.png?sv=2012-02-12&se=2015-05-04T23%3A52%3A01Z&sr=b&sp=r&sig=UAYHC%2Fg5Vi3BeJapohkE%2BLeMrXzBufulT9CCz8xMKWo%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7d97719d-34aa-4b5b-a183-e672d379ba2e.ico?sv=2012-02-12&se=2015-05-04T23%3A52%3A01Z&sr=b&sp=r&sig=jtGNoD9YO6EcylKW%2FJH0%2Fw2YHeLI%2F5jhljGPOVY4ZBA%3D\",\r\n \"Id\": \"45bca3f6-056f-48e9-8f8c-ebcc5b929b55\",\r\n \"Name\": \"Visio\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\VISIO.EXE\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "635"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "ed149286dd4e97caaddc55dc9d72430d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:13 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/startMenuApps/9c694b6c-5f22-4d3b-a28c-dae98a6ab6c1?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3N0YXJ0TWVudUFwcHMvOWM2OTRiNmMtNWYyMi00ZDNiLWEyOGMtZGFlOThhNmFiNmMxP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"CommandLineArguments\": \"\",\r\n \"IconPngUris\": [\r\n {\r\n \"Key\": 32,\r\n \"Value\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/18abd99d-236a-4b01-8d94-0c6e14b7d8d6.png?sv=2012-02-12&se=2015-05-04T23%3A52%3A05Z&sr=b&sp=r&sig=yEFzV1xUpw7EoeM8RGMEO6WcX9EmBWTnSWf4I7JCF98%3D\"\r\n }\r\n ],\r\n \"IconUri\": \"https://cdvwu195320276rdcm.blob.core.windows.net/icons/7ea54f0e-8c3c-4015-a368-44957cec0e61.ico?sv=2012-02-12&se=2015-05-04T23%3A52%3A05Z&sr=b&sp=r&sig=TwjOyxRIq3x7JUZ53206mdU%2FL40XbYZaC4pcZxbBqBo%3D\",\r\n \"Id\": \"9c694b6c-5f22-4d3b-a28c-dae98a6ab6c1\",\r\n \"Name\": \"Word\",\r\n \"VirtualPath\": \"%SYSTEMDRIVE%\\\\Program Files\\\\Microsoft Office\\\\Office15\\\\WINWORD.EXE\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "628"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "e14659fd70f59e958308892c7a98c38f"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:17 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj0=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": null,\r\n \"UserList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "40"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "136197bb86c790a0bdb54d83a2d5cf37"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:23 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj0=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": \"ae1c66a7-4126-46b2-9f90-b0d8b371dd48:0003bffdc3f8a510\",\r\n \"UserList\": [\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user1@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n },\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user2@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n },\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user3@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "462"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "1805f417ff199633af674262055e6ee3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:31 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj0=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": \"ae1c66a7-4126-46b2-9f90-b0d8b371dd48:0003bffdc3f8a510\",\r\n \"UserList\": [\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user1@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n },\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user2@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n },\r\n {\r\n \"Status\": 1,\r\n \"User\": {\r\n \"AadObjectId\": \"\",\r\n \"Description\": \"\",\r\n \"Name\": \"user3@contoso.com \",\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "462"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "8d9fd191a1c6983997110132ff733eee"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:35 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj0=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": null,\r\n \"UserList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "40"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "25c9d5d4b79b95aa85301cc037e5edb4"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:45 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user1@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "c47afdb3e52093668d7be31dfa81f795"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:25 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user2@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "fda0b9064af1947497799158f87040b6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:28 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user3@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "f6b4d0ccf1839159ac8b0721a71df9ef"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:31 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=ae1c66a7-4126-46b2-9f90-b0d8b371dd48:0003bffdc3f8a510",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj1hZTFjNjZhNy00MTI2LTQ2YjItOWY5MC1iMGQ4YjM3MWRkNDglM0EwMDAzYmZmZGMzZjhhNTEw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": null,\r\n \"UserList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "40"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "4a89e8fb15a094329565799f8999852b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:33 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/Principals?api-version=2014-09-01&pagingToken=ae1c66a7-4126-46b2-9f90-b0d8b371dd48:0003bffdc3f8a510",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL1ByaW5jaXBhbHM/YXBpLXZlcnNpb249MjAxNC0wOS0wMSZwYWdpbmdUb2tlbj1hZTFjNjZhNy00MTI2LTQ2YjItOWY5MC1iMGQ4YjM3MWRkNDglM0EwMDAzYmZmZGMzZjhhNTEw",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"ContinuationToken\": null,\r\n \"UserList\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "40"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "88ebb7a5793b9e5ba76b705939b2a262"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:37 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user1@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "67e3ffb32f209466a1980c014118a690"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:39 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user2@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "35740d352cea99f7b00b8385fdb0bfd8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:40 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/securityPrincipals?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL3NlY3VyaXR5UHJpbmNpcGFscz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n {\r\n \"SecurityPrincipalType\": 0,\r\n \"UserIdType\": 1,\r\n \"Name\": \"user3@contoso.com \"\r\n }\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"FailedSecurityPrincipals\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "31"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "4298340cfaaf9b66a9b545ac73065958"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:43 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"c902b11e-9d1d-45eb-82eb-6424f82c784f\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"c902b11e-9d1d-45eb-82eb-6424f82c784f\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "2f25fa43b98093d9a99be1862fcdf718"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:46 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"f23d48cb-9512-4b27-a89a-990a6e7f068f\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"f23d48cb-9512-4b27-a89a-990a6e7f068f\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "37de324e3bb093638abe3d50a61d4034"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:49 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"fd337514-db28-4bec-b8d7-90843462755b\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"fd337514-db28-4bec-b8d7-90843462755b\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "a06b8f0f7b0893a1a67d7ab3a45e568a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:51 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"958f7c37-fc93-4a6b-9659-c18c70e81692\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"958f7c37-fc93-4a6b-9659-c18c70e81692\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "f53f2deb9312976b9fd0334a24dab46d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:52 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection/applications?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uL2FwcGxpY2F0aW9ucz9hcGktdmVyc2lvbj0yMDE0LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "[\r\n \"4f069c3c-f3a8-40a1-bc3e-d00df57805ae\"\r\n]",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "46"
+ ],
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "[\r\n {\r\n \"ApplicationAlias\": \"4f069c3c-f3a8-40a1-bc3e-d00df57805ae\",\r\n \"ApplicationVirtualPath\": null,\r\n \"ErrorMessage\": null,\r\n \"Success\": true\r\n }\r\n]",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "126"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "436b9a9762c49c7cb73d3fdd39148401"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:22:55 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/collections/CICollection?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvY29sbGVjdGlvbnMvQ0lDb2xsZWN0aW9uP2FwaS12ZXJzaW9uPTIwMTQtMDktMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-clouddv-tracking-id": [
+ "7ff70b85-a66a-408a-a7b6-3d2b947f210e"
+ ],
+ "x-remoteapp-operation-tracking-id": [
+ "7ff70b85-a66a-408a-a7b6-3d2b947f210e"
+ ],
+ "x-ms-request-id": [
+ "5dcdac48b48c9f71a72cfc4d52156020"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:23:59 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "5fbf3a553cc4966294cd5a89755796dd"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:29:01 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "4d880bd681c19e6da59e610d8c5c42c9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:34:04 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "10a818d8f61c995baa0205f4a355c5bb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:39:06 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "1d51b83e712d9935819dc3a5b78ede3a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:44:12 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "0eb999375dba9392b7d22f22b1807f07"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:49:14 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "e6763bbd194c9f0fae7955b31760d3db"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:54:17 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"InProgress\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "84"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "1306d801dbc291329efbafee242cb888"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Mon, 04 May 2015 23:59:18 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/30da001a-1a9e-48a1-8b77-e5abcfe38bdc/services/rdst15/operationResults/7ff70b85-a66a-408a-a7b6-3d2b947f210e?api-version=2014-09-01",
+ "EncodedRequestUri": "LzMwZGEwMDFhLTFhOWUtNDhhMS04Yjc3LWU1YWJjZmUzOGJkYy9zZXJ2aWNlcy9yZHN0MTUvb3BlcmF0aW9uUmVzdWx0cy83ZmY3MGI4NS1hNjZhLTQwOGEtYTdiNi0zZDJiOTQ3ZjIxMGU/YXBpLXZlcnNpb249MjAxNC0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Accept": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-version": [
+ "2014-08-01"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.RemoteApp.RemoteAppManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Description\": \"DeleteExistingDeployment\",\r\n \"ErrorDetails\": null,\r\n \"Status\": \"Success\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "81"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "uswest"
+ ],
+ "x-ms-request-id": [
+ "21f939fe830a991386d0f93a304e1264"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 05 May 2015 00:04:20 GMT"
+ ],
+ "Server": [
+ "1.0.6190.5955",
+ "(rd_rdfe_n.150416-1241)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "30da001a-1a9e-48a1-8b77-e5abcfe38bdc"
+ }
+}
\ No newline at end of file
diff --git a/src/Common/Commands.ScenarioTest/SessionRecords/Microsoft.WindowsAzure.Commands.ScenarioTest.ServiceManagementTests/RunEnableAndDisableDataCollectionTests.json b/src/Common/Commands.ScenarioTest/SessionRecords/Microsoft.WindowsAzure.Commands.ScenarioTest.ServiceManagementTests/RunEnableAndDisableDataCollectionTests.json
new file mode 100644
index 000000000000..01e0e7fda838
--- /dev/null
+++ b/src/Common/Commands.ScenarioTest/SessionRecords/Microsoft.WindowsAzure.Commands.ScenarioTest.ServiceManagementTests/RunEnableAndDisableDataCollectionTests.json
@@ -0,0 +1,2478 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/locations",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9sb2NhdGlvbnM=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n \r\n Central US\r\n Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n South Central US\r\n South Central US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US\r\n East US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West US\r\n West US\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n Standard_DS1\r\n Standard_DS11\r\n Standard_DS12\r\n Standard_DS13\r\n Standard_DS14\r\n Standard_DS2\r\n Standard_DS3\r\n Standard_DS4\r\n Standard_G1\r\n Standard_G2\r\n Standard_G3\r\n Standard_G4\r\n Standard_G5\r\n Standard_GS1\r\n Standard_GS2\r\n Standard_GS3\r\n Standard_GS4\r\n Standard_GS5\r\n \r\n \r\n \r\n \r\n Premium_LRS\r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n East US 2\r\n East US 2\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n Standard_DS1\r\n Standard_DS11\r\n Standard_DS12\r\n Standard_DS13\r\n Standard_DS14\r\n Standard_DS2\r\n Standard_DS3\r\n Standard_DS4\r\n Standard_G1\r\n Standard_G2\r\n Standard_G3\r\n Standard_G4\r\n Standard_G5\r\n Standard_GS1\r\n Standard_GS2\r\n Standard_GS3\r\n Standard_GS4\r\n Standard_GS5\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n Premium_LRS\r\n \r\n \r\n \r\n \r\n North Europe\r\n North Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n \r\n West Europe\r\n West Europe\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A10\r\n A11\r\n A5\r\n A6\r\n A7\r\n A8\r\n A9\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n Standard_DS1\r\n Standard_DS11\r\n Standard_DS12\r\n Standard_DS13\r\n Standard_DS14\r\n Standard_DS2\r\n Standard_DS3\r\n Standard_DS4\r\n Standard_G1\r\n Standard_G2\r\n Standard_G3\r\n Standard_G4\r\n Standard_G5\r\n Standard_GS1\r\n Standard_GS2\r\n Standard_GS3\r\n Standard_GS4\r\n Standard_GS5\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n Premium_LRS\r\n \r\n \r\n \r\n \r\n Southeast Asia\r\n Southeast Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n Standard_DS1\r\n Standard_DS11\r\n Standard_DS12\r\n Standard_DS13\r\n Standard_DS14\r\n Standard_DS2\r\n Standard_DS3\r\n Standard_DS4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n Premium_LRS\r\n \r\n \r\n \r\n \r\n East Asia\r\n East Asia\r\n \r\n Compute\r\n Storage\r\n PersistentVMRole\r\n HighMemory\r\n \r\n \r\n \r\n A5\r\n A6\r\n A7\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n A5\r\n A6\r\n A7\r\n Basic_A0\r\n Basic_A1\r\n Basic_A2\r\n Basic_A3\r\n Basic_A4\r\n ExtraLarge\r\n ExtraSmall\r\n Large\r\n Medium\r\n Small\r\n Standard_D1\r\n Standard_D11\r\n Standard_D12\r\n Standard_D13\r\n Standard_D14\r\n Standard_D2\r\n Standard_D3\r\n Standard_D4\r\n \r\n \r\n \r\n \r\n Standard_LRS\r\n Standard_ZRS\r\n Standard_GRS\r\n Standard_RAGRS\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "19800"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "71ab1f9989d7050db135973ab5ad418c"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:13:59 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/71ab1f9989d7050db135973ab5ad418c",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zLzcxYWIxZjk5ODlkNzA1MGRiMTM1OTczYWI1YWQ0MThj",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n 71ab1f99-89d7-050d-b135-973ab5ad418c\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "d557f9251cde087994b3eed103b32c0b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:00 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk2384\r\n \r\n Central US\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "206"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "0a883f826adb0c87a36fa44290e374a8"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:03 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk2384"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk940\r\n \r\n South Central US\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "207"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "3fd8475d4f8c06cd897131e0170285ce"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:08 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk940"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk3019\r\n \r\n East US\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "203"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "6d92b759a7ec0b989eb07a12cfc37256"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:15 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk3019"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk6356\r\n \r\n West US\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "203"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "cddef3a136e40e6ab27aa02b35287bed"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:18 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk6356"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk1630\r\n \r\n East US 2\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "205"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "7e516525484604d892799df489cd554a"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:22 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk1630"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk3615\r\n \r\n North Europe\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "208"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "0d8e0995f4a20ab2a6da2fa1d5d55add"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:31 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk3615"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk6186\r\n \r\n West Europe\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "207"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "f7b8d451cc060c22b5cc865b82ad5c23"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:39 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk6186"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk5861\r\n \r\n Southeast Asia\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "210"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "cd67c52bf47e0d3f88e25cefc30525bb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:47 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk5861"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcw==",
+ "RequestMethod": "POST",
+ "RequestBody": "\r\n onesdk2226\r\n \r\n East Asia\r\n",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/xml"
+ ],
+ "Content-Length": [
+ "205"
+ ],
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "60a8db29668f045c901d6b3447de9eea"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:55 GMT"
+ ],
+ "Location": [
+ "https://management.core.windows.net/subscriptions/4d368445-cbb1-42a7-97a6-6850ab99f48e/compute/onesdk2226"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/0a883f826adb0c87a36fa44290e374a8",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zLzBhODgzZjgyNmFkYjBjODdhMzZmYTQ0MjkwZTM3NGE4",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n 0a883f82-6adb-0c87-a36f-a44290e374a8\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "623bb1d8abaa07a0ad04b54802c4e211"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:03 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2384?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsyMzg0P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2384\r\n onesdk2384\r\n \r\n \r\n Central US\r\n \r\n Created\r\n 2015-09-04T17:14:02Z\r\n 2015-09-04T17:14:03Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "591"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "ce000093c347094abd9ca4e5be7bebcd"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:04 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2384?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsyMzg0P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2384\r\n onesdk2384\r\n \r\n \r\n Central US\r\n \r\n Created\r\n 2015-09-04T17:14:02Z\r\n 2015-09-04T17:14:03Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "591"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "650473cfcd7f036aace42909221b06b7"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:04 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2384?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsyMzg0P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2384\r\n onesdk2384\r\n \r\n \r\n Central US\r\n \r\n Created\r\n 2015-09-04T17:14:02Z\r\n 2015-09-04T17:14:03Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "591"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "5948f229afb609f8bea193c8bf357223"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:04 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2384",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsyMzg0",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "18b26042951c0d01a05aeb0ceb8766c7"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:07 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/3fd8475d4f8c06cd897131e0170285ce",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zLzNmZDg0NzVkNGY4YzA2Y2Q4OTcxMzFlMDE3MDI4NWNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n 3fd8475d-4f8c-06cd-8971-31e0170285ce\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "d1dd79f00e9c0647926a3002c15a1691"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:09 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk940?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs5NDA/ZW1iZWQtZGV0YWlsPXRydWU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk940\r\n onesdk940\r\n \r\n \r\n South Central US\r\n \r\n Created\r\n 2015-09-04T17:14:08Z\r\n 2015-09-04T17:14:08Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "591"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "dab6c8c279a60d538e494047047a28fa"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:10 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk940?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs5NDA/ZW1iZWQtZGV0YWlsPXRydWU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk940\r\n onesdk940\r\n \r\n \r\n South Central US\r\n \r\n Created\r\n 2015-09-04T17:14:08Z\r\n 2015-09-04T17:14:08Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "591"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "8616ec7aee6b0b0ea6c9a8c979239a76"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:10 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk940?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs5NDA/ZW1iZWQtZGV0YWlsPXRydWU=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk940\r\n onesdk940\r\n \r\n \r\n South Central US\r\n \r\n Created\r\n 2015-09-04T17:14:08Z\r\n 2015-09-04T17:14:08Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "591"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "bbfcd69cf8b80cf9ab07b96fbb2e7d86"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:11 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk940",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs5NDA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "0057ade11de7069092ecc7d3b2c20db3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:13 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/6d92b759a7ec0b989eb07a12cfc37256",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zLzZkOTJiNzU5YTdlYzBiOTg5ZWIwN2ExMmNmYzM3MjU2",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n 6d92b759-a7ec-0b98-9eb0-7a12cfc37256\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "66bc28b9968a0851a35c11c9a8ca4452"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:15 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3019?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGszMDE5P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3019\r\n onesdk3019\r\n \r\n \r\n East US\r\n \r\n Created\r\n 2015-09-04T17:14:14Z\r\n 2015-09-04T17:14:14Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "588"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "bf7c0cd2792f098693b2878e0eb42d25"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:15 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3019?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGszMDE5P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3019\r\n onesdk3019\r\n \r\n \r\n East US\r\n \r\n Created\r\n 2015-09-04T17:14:14Z\r\n 2015-09-04T17:14:14Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "588"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "3546d9fbe5d50fada9718afc6d5bcd3d"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:16 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3019?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGszMDE5P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3019\r\n onesdk3019\r\n \r\n \r\n East US\r\n \r\n Created\r\n 2015-09-04T17:14:14Z\r\n 2015-09-04T17:14:14Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "588"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "b7829d08df1603c69c28fc4233b3c93b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:16 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3019",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGszMDE5",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "49a706d3d27a0137aa1cbd29bc400810"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:17 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/cddef3a136e40e6ab27aa02b35287bed",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zL2NkZGVmM2ExMzZlNDBlNmFiMjdhYTAyYjM1Mjg3YmVk",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n cddef3a1-36e4-0e6a-b27a-a02b35287bed\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "0220e4084f310f9dbbb2b5db13d0a5ee"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:19 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6356?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs2MzU2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6356\r\n onesdk6356\r\n \r\n \r\n West US\r\n \r\n Created\r\n 2015-09-04T17:14:18Z\r\n 2015-09-04T17:14:18Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "588"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "4c4777b053b502f2af41bb11f688bd0b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:20 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6356?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs2MzU2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6356\r\n onesdk6356\r\n \r\n \r\n West US\r\n \r\n Created\r\n 2015-09-04T17:14:18Z\r\n 2015-09-04T17:14:18Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "588"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "af2635653db20844bda16bda2ec50b71"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:20 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6356?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs2MzU2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6356\r\n onesdk6356\r\n \r\n \r\n West US\r\n \r\n Created\r\n 2015-09-04T17:14:18Z\r\n 2015-09-04T17:14:18Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "588"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "7b6fbc875c4f0684918e7f706e9686f3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:20 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6356",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs2MzU2",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "cec70998cb570b93863b564e7e2919a5"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:21 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/7e516525484604d892799df489cd554a",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zLzdlNTE2NTI1NDg0NjA0ZDg5Mjc5OWRmNDg5Y2Q1NTRh",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n 7e516525-4846-04d8-9279-9df489cd554a\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "42db0edcc3e70ab993ced833a9b478d1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:27 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk1630?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsxNjMwP2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk1630\r\n onesdk1630\r\n \r\n \r\n East US 2\r\n \r\n Created\r\n 2015-09-04T17:14:23Z\r\n 2015-09-04T17:14:24Z\r\n \r\n \r\n ResourceGroup\r\n onesdk1630\r\n \r\n \r\n ResourceLocation\r\n East US 2\r\n \r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "788"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "378042cea1210260ae6dd2c7a5c60c38"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:28 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk1630?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsxNjMwP2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk1630\r\n onesdk1630\r\n \r\n \r\n East US 2\r\n \r\n Created\r\n 2015-09-04T17:14:23Z\r\n 2015-09-04T17:14:24Z\r\n \r\n \r\n ResourceGroup\r\n onesdk1630\r\n \r\n \r\n ResourceLocation\r\n East US 2\r\n \r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "788"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "4e463079a05a009e951e2f937b818a6b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:28 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk1630?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsxNjMwP2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk1630\r\n onesdk1630\r\n \r\n \r\n East US 2\r\n \r\n Created\r\n 2015-09-04T17:14:23Z\r\n 2015-09-04T17:14:24Z\r\n \r\n \r\n ResourceGroup\r\n onesdk1630\r\n \r\n \r\n ResourceLocation\r\n East US 2\r\n \r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "788"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "be8c62f07e680cf0a8871e1ee4374d73"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:29 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk1630",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsxNjMw",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "ff81ed08755a04669789cd8cb5dbc2af"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:30 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/0d8e0995f4a20ab2a6da2fa1d5d55add",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zLzBkOGUwOTk1ZjRhMjBhYjJhNmRhMmZhMWQ1ZDU1YWRk",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n 0d8e0995-f4a2-0ab2-a6da-2fa1d5d55add\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "f522781abb18048abed01543bb8dc343"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:31 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3615?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGszNjE1P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3615\r\n onesdk3615\r\n \r\n \r\n North Europe\r\n \r\n Created\r\n 2015-09-04T17:14:32Z\r\n 2015-09-04T17:14:31Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "593"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "be459da5e69207e58509f5f61afb331e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:33 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3615?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGszNjE1P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3615\r\n onesdk3615\r\n \r\n \r\n North Europe\r\n \r\n Created\r\n 2015-09-04T17:14:32Z\r\n 2015-09-04T17:14:31Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "593"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "9c93b852aac60ab0a9e2cbde6c3edafb"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:33 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3615?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGszNjE1P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3615\r\n onesdk3615\r\n \r\n \r\n North Europe\r\n \r\n Created\r\n 2015-09-04T17:14:32Z\r\n 2015-09-04T17:14:31Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "593"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "78055f1a493000de9186b85173fe41e3"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:33 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk3615",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGszNjE1",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "195dacb65e2c0708bd795f4af4917ca4"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:37 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/f7b8d451cc060c22b5cc865b82ad5c23",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zL2Y3YjhkNDUxY2MwNjBjMjJiNWNjODY1YjgyYWQ1YzIz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n f7b8d451-cc06-0c22-b5cc-865b82ad5c23\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "ac0f5435614c099582d163c89923bf2e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:40 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6186?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs2MTg2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6186\r\n onesdk6186\r\n \r\n \r\n West Europe\r\n \r\n Created\r\n 2015-09-04T17:14:39Z\r\n 2015-09-04T17:14:39Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "592"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "0f3339f205270dfd85b4208e4f8ff9e9"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:41 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6186?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs2MTg2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6186\r\n onesdk6186\r\n \r\n \r\n West Europe\r\n \r\n Created\r\n 2015-09-04T17:14:39Z\r\n 2015-09-04T17:14:39Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "592"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "4278fc03c13b0a7cb0b9dbb0a7397568"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:42 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6186?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs2MTg2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6186\r\n onesdk6186\r\n \r\n \r\n West Europe\r\n \r\n Created\r\n 2015-09-04T17:14:39Z\r\n 2015-09-04T17:14:42Z\r\n \r\n \r\n ResourceGroup\r\n onesdk6186\r\n \r\n \r\n ResourceLocation\r\n West Europe\r\n \r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "792"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "6d4294038ee3073d93d6a2a247462eb7"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:42 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk6186",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs2MTg2",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "09b96ee4e5fa008d806d97c86298dd14"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:44 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/cd67c52bf47e0d3f88e25cefc30525bb",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zL2NkNjdjNTJiZjQ3ZTBkM2Y4OGUyNWNlZmMzMDUyNWJi",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n cd67c52b-f47e-0d3f-88e2-5cefc30525bb\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "5662cdc4ff090c559bac5195b7639ffa"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:48 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk5861?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs1ODYxP2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk5861\r\n onesdk5861\r\n \r\n \r\n Southeast Asia\r\n \r\n Created\r\n 2015-09-04T17:14:45Z\r\n 2015-09-04T17:14:47Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "595"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "ee735bc8fddb086d9ec5e20371484ef6"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:48 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk5861?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs1ODYxP2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk5861\r\n onesdk5861\r\n \r\n \r\n Southeast Asia\r\n \r\n Created\r\n 2015-09-04T17:14:45Z\r\n 2015-09-04T17:14:47Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "595"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "685aa37f01460c459e0ba4179698bf5b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:50 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk5861?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs1ODYxP2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk5861\r\n onesdk5861\r\n \r\n \r\n Southeast Asia\r\n \r\n Created\r\n 2015-09-04T17:14:45Z\r\n 2015-09-04T17:14:47Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "595"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "531570e6c9700a38938650d1cba8277b"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:50 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk5861",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGs1ODYx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "ed19094ca2ae0f87a4b86d246b52a957"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:53 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/operations/60a8db29668f045c901d6b3447de9eea",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9vcGVyYXRpb25zLzYwYThkYjI5NjY4ZjA0NWM5MDFkNmIzNDQ3ZGU5ZWVh",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2014-10-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n 60a8db29-668f-045c-901d-6b3447de9eea\r\n Succeeded\r\n 200\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "232"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "x-ms-request-id": [
+ "43038c4e61080115a1a3c4f016f45653"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:54 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2226?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsyMjI2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2226\r\n onesdk2226\r\n \r\n \r\n East Asia\r\n \r\n Created\r\n 2015-09-04T17:14:54Z\r\n 2015-09-04T17:14:54Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "590"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "9d4c50b76a260962b5a53f278909511e"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:55 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2226?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsyMjI2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2226\r\n onesdk2226\r\n \r\n \r\n East Asia\r\n \r\n Created\r\n 2015-09-04T17:14:54Z\r\n 2015-09-04T17:14:54Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "590"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "442b1c56924c06bdb37770f12b4e8e39"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:56 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2226?embed-detail=true",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsyMjI2P2VtYmVkLWRldGFpbD10cnVl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "\r\n https://management.core.windows.net/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2226\r\n onesdk2226\r\n \r\n \r\n East Asia\r\n \r\n Created\r\n 2015-09-04T17:14:54Z\r\n 2015-09-04T17:14:54Z\r\n \r\n \r\n \r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "590"
+ ],
+ "Content-Type": [
+ "application/xml; charset=utf-8"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "0e40f5e4002b0559a1b9229f8bb5b892"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:56 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/4d368445-cbb1-42a7-97a6-6850ab99f48e/services/hostedservices/onesdk2226",
+ "EncodedRequestUri": "LzRkMzY4NDQ1LWNiYjEtNDJhNy05N2E2LTY4NTBhYjk5ZjQ4ZS9zZXJ2aWNlcy9ob3N0ZWRzZXJ2aWNlcy9vbmVzZGsyMjI2",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-version": [
+ "2015-04-01"
+ ],
+ "User-Agent": [
+ "Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/12.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "x-ms-servedbyregion": [
+ "ussouth3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "3427043c709a076887e90bd92893c916"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 04 Sep 2015 17:14:57 GMT"
+ ],
+ "Server": [
+ "1.0.6198.260",
+ "(rd_rdfe_stable.150831-1512)",
+ "Microsoft-HTTPAPI/2.0"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "": [
+ "onesdk2384",
+ "onesdk940",
+ "onesdk3019",
+ "onesdk6356",
+ "onesdk1630",
+ "onesdk3615",
+ "onesdk6186",
+ "onesdk5861",
+ "onesdk2226"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "4d368445-cbb1-42a7-97a6-6850ab99f48e"
+ }
+}
\ No newline at end of file
diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
index 17a57466968c..b9dd9c46ce90 100644
--- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
+++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
@@ -142,7 +142,6 @@
-
@@ -159,10 +158,6 @@
{5ee72c53-1720-4309-b54b-5fb79703195f}
Commands.Common
-
- {3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
- Commands.ResourceManager.Common
-
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/Assert.ps1 b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Assert.ps1
new file mode 100644
index 000000000000..ae4a0c1b6553
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Assert.ps1
@@ -0,0 +1,383 @@
+# ----------------------------------------------------------------------------------
+#
+# 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.
+# ----------------------------------------------------------------------------------
+
+######################
+#
+# Validate that the given code block throws the given exception
+#
+# param [ScriptBlock] $script : The code to test
+# param [string] $message : The text of the exception that should be thrown
+#######################
+function Assert-Throws
+{
+ param([ScriptBlock] $script, [string] $message)
+ try
+ {
+ &$script
+ }
+ catch
+ {
+ if ($message -ne "")
+ {
+ $actualMessage = $_.Exception.Message
+ Write-Output ("Caught exception: '$actualMessage'")
+
+ if ($actualMessage -eq $message)
+ {
+ return $true;
+ }
+ else
+ {
+ throw "Expected exception not received: '$message' the actual message is '$actualMessage'";
+ }
+ }
+ else
+ {
+ return $true;
+ }
+ }
+
+ throw "No exception occured";
+}
+
+######################
+#
+# Validate that the given code block throws the given exception
+#
+# param [ScriptBlock] $script : The code to test
+# param [ScriptBlock] $compare : Predicate used to determine if the message meets criteria
+#######################
+function Assert-ThrowsContains
+{
+ param([ScriptBlock] $script, [string] $compare)
+ try
+ {
+ &$script
+ }
+ catch
+ {
+ if ($message -ne "")
+ {
+ $actualMessage = $_.Exception.Message
+ Write-Output ("Caught exception: '$actualMessage'")
+ if ($actualMessage.Contains($compare))
+ {
+ return $true;
+ }
+ else
+ {
+ throw "Expected exception does not contain expected text '$compare', the actual message is '$actualMessage'";
+ }
+ }
+ else
+ {
+ return $true;
+ }
+ }
+
+ throw "No exception occured";
+}
+
+######################
+#
+# Validate that the given code block throws the given exception
+#
+# param [ScriptBlock] $script : The code to test
+# param [ScriptBlock] $compare: Predicate used to determine if the message meets the criteria (-like)
+#######################
+function Assert-ThrowsLike
+{
+ param([ScriptBlock] $script, [string] $compare)
+ try
+ {
+ &$script
+ }
+ catch
+ {
+ if ($message -ne "")
+ {
+ $actualMessage = $_.Exception.Message
+ Write-Output ("Caught exception: '$actualMessage'")
+ if ($actualMessage -like $compare)
+ {
+ return $true;
+ }
+ else
+ {
+ throw "Expected exception is not like the expected text '$compare', the actual message is '$actualMessage'";
+ }
+ }
+ else
+ {
+ return $true;
+ }
+ }
+
+ throw "No exception occured";
+}
+
+<#
+.SYNOPSIS
+Given a list of variable names, assert that all of them are defined
+#>
+function Assert-Env
+{
+ param([string[]] $vars)
+ $tmp = Get-Item env:
+ $env = @{}
+ $tmp | % { $env.Add($_.Key, $_.Value)}
+ $vars | % { Assert-True {$env.ContainsKey($_)} "Environment Variable $_ Is Required. Please set the value before runnign the test"}
+}
+
+###################
+#
+# Verify that the given scriptblock returns true
+#
+# param [ScriptBlock] $script : The script to execute
+# param [string] $message : The message to return if the given script does not return true
+####################
+function Assert-True
+{
+ param([ScriptBlock] $script, [string] $message)
+
+ if (!$message)
+ {
+ $message = "Assertion failed: " + $script
+ }
+
+ $result = &$script
+ if (-not $result)
+ {
+ Write-Debug "Failure: $message"
+ throw $message
+ }
+
+ return $true
+}
+
+###################
+#
+# Verify that the given scriptblock returns false
+#
+# param [ScriptBlock] $script : The script to execute
+# param [string] $message : The message to return if the given script does not return false
+####################
+function Assert-False
+{
+ param([ScriptBlock] $script, [string] $message)
+
+ if (!$message)
+ {
+ $message = "Assertion failed: " + $script
+ }
+
+ $result = &$script
+ if ($result)
+ {
+ throw $message
+ }
+
+ return $true
+}
+
+###################
+#
+# Verify that the given scriptblock returns false
+#
+# param [ScriptBlock] $script : The script to execute
+# param [string] $message : The message to return if the given script does not return false
+####################
+function Assert-False
+{
+ param([ScriptBlock] $script, [string] $message)
+
+ if (!$message)
+ {
+ $message = "Assertion failed: " + $script
+ }
+
+ $result = &$script
+ if ($result)
+ {
+ throw $message
+ }
+
+ return $true
+}
+
+###################
+#
+# Verify that the given scriptblock does not return null
+#
+# param [object] $actual : The actual object
+# param [string] $message : The message to return if the given script does not return true
+####################
+function Assert-NotNull
+{
+ param([object] $actual, [string] $message)
+
+ if (!$message)
+ {
+ $message = "Assertion failed because the object is null: " + $actual
+ }
+
+ if ($actual -eq $null)
+ {
+ throw $message
+ }
+
+ return $true
+}
+
+######################
+#
+# Assert that the given file exists
+#
+# param [string] $path : The path to the file to test
+# param [string] $message: The text of the exception to throw if the file doesn't exist
+######################
+function Assert-Exists
+{
+ param([string] $path, [string] $message)
+ return Assert-True {Test-Path $path} $message
+}
+
+###################
+#
+# Verify that two given objects are equal
+#
+# param [object] $expected : The expected object
+# param [object] $actual : The actual object
+# param [string] $message : The message to return if the given objects are not equal
+####################
+function Assert-AreEqual
+{
+ param([object] $expected, [object] $actual, [string] $message)
+
+ if (!$message)
+ {
+ $message = "Assertion failed because expected '$expected' does not match actual '$actual'"
+ }
+
+ if ($expected -ne $actual)
+ {
+ throw $message
+ }
+
+ return $true
+}
+
+###################
+#
+# Verify that two given arrays are equal
+#
+# param [array] $expected : The expected array
+# param [array] $actual : The actual array
+# param [string] $message : The message to return if the given arrays are not equal.
+####################
+function Assert-AreEqualArray
+{
+ param([object] $expected, [object] $actual, [string] $message)
+
+ if (!$message)
+ {
+ $message = "Assertion failed because expected '$expected' does not match actual '$actual'"
+ }
+
+ $diff = Compare-Object $expected $actual -PassThru
+
+ if ($diff -ne $null)
+ {
+ throw $message
+ }
+
+ return $true
+}
+
+###################
+#
+# Verify that two given objects have equal properties
+#
+# param [object] $expected : The expected object
+# param [object] $actual : The actual object
+# param [string] $message : The message to return if the given objects are not equal.
+####################
+function Assert-AreEqualObjectProperties
+{
+ param([object] $expected, [object] $actual, [string] $message)
+
+ $properties = $expected | Get-Member -MemberType "Property" | Select -ExpandProperty Name
+ $diff = Compare-Object $expected $actual -Property $properties
+
+ if ($diff -ne $null)
+ {
+ if (!$message)
+ {
+ $message = "Assert failed because the objects don't match. Expected: " + $diff[0] + " Actual: " + $diff[1]
+ }
+
+ throw $message
+ }
+
+ return $true
+}
+
+###################
+#
+# Verify that the given value is null
+#
+# param [object] $actual : The actual object
+# param [string] $message : The message to return if the given object is not null
+####################
+function Assert-Null
+{
+ param([object] $actual, [string] $message)
+
+ if (!$message)
+ {
+ $message = "Assertion failed because the object is not null: " + $actual
+ }
+
+ if ($actual -ne $null)
+ {
+ throw $message
+ }
+
+ return $true
+}
+
+###################
+#
+# Verify that two given objects are not equal
+#
+# param [object] $expected : The expected object
+# param [object] $actual : The actual object
+# param [string] $message : The message to return if the given objects are equal
+####################
+function Assert-AreNotEqual
+{
+ param([object] $expected, [object] $actual, [string] $message)
+
+ if (!$message)
+ {
+ $message = "Assertion failed because expected '$expected' does match actual '$actual'"
+ }
+
+ if ($expected -eq $actual)
+ {
+ throw $message
+ }
+
+ return $true
+}
\ No newline at end of file
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/Commands.ScenarioTests.ResourceManager.Common.csproj b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Commands.ScenarioTests.ResourceManager.Common.csproj
new file mode 100644
index 000000000000..6924e0d86e0b
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Commands.ScenarioTests.ResourceManager.Common.csproj
@@ -0,0 +1,196 @@
+
+
+
+
+
+ Debug
+ AnyCPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}
+ Library
+ Properties
+ Microsoft.Azure.Commands.ScenarioTest
+ Microsoft.Azure.Commands.ScenarioTest.Common
+ v4.5
+ 512
+ ..\..\
+ true
+ 3c43a8cf
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE;SIGN
+ true
+ MSSharedLibKey.snk
+ true
+ true
+ false
+ true
+ pdbonly
+
+
+
+ ..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll
+
+
+ ..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
+
+
+ False
+ ..\..\packages\Microsoft.Azure.Common.Authentication.1.1.4-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+
+
+ ..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
+
+
+ False
+ ..\..\packages\Microsoft.Azure.Management.Resources.2.18.7-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+
+
+ ..\..\packages\Microsoft.Azure.Test.Framework.1.0.5715.36130-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+
+
+ ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5715.36130-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+
+
+ False
+ ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
+
+
+ False
+ ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
+
+
+ ..\..\packages\Microsoft.Rest.ClientRuntime.Azure.Authentication.0.9.3\lib\net45\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll
+ True
+
+
+ False
+ ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll
+
+
+ False
+ ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll
+ True
+
+
+ ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll
+
+
+
+ ..\..\packages\Microsoft.WindowsAzure.Management.4.1.1\lib\net40\Microsoft.WindowsAzure.Management.dll
+
+
+ False
+ ..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll
+
+
+ ..\..\packages\Microsoft.Rest.ClientRuntime.1.2.0\lib\net45\Microsoft.Rest.ClientRuntime.dll
+ True
+
+
+
+
+ False
+ C:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0\System.Management.Automation.dll
+
+
+
+
+ False
+ ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll
+
+
+ False
+ ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll
+
+
+
+
+
+
+
+
+ ..\..\packages\xunit.1.9.2\lib\net20\xunit.dll
+ True
+
+
+ ..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll
+ True
+
+
+
+
+ Profile\ProfileClient.cs
+
+
+ Profile\PSAzureAccount.cs
+
+
+ Profile\PublishSettingsImporter.cs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+ {3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
+ Commands.ResourceManager.Common
+
+
+
+
+
+
+ This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/Common.ps1 b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Common.ps1
new file mode 100644
index 000000000000..8b46ac170973
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Common.ps1
@@ -0,0 +1,546 @@
+# ----------------------------------------------------------------------------------
+#
+# 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.
+# ----------------------------------------------------------------------------------
+
+$excludedExtensions = @(".dll", ".zip", ".msi", ".exe")
+###################################
+#
+# Retrievce the contents of a powershrell transcript, stripping headers and footers
+#
+# param [string] $path: The path to the transript file to read
+###################################
+function Get-Transcript
+{
+ param([string] $path)
+ return Get-Content $path |
+ Select-String -InputObject {$_} -Pattern "^Start Time\s*:.*" -NotMatch |
+ Select-String -InputObject {$_} -Pattern "^End Time\s*:.*" -NotMatch |
+ Select-String -InputObject {$_} -Pattern "^Machine\s*:.*" -NotMatch |
+ Select-String -InputObject {$_} -Pattern "^Username\s*:.*" -NotMatch |
+ Select-String -InputObject {$_} -Pattern "^Transcript started, output file is.*" -NotMatch
+}
+
+########################
+#
+# Get a random file name in the current directory
+#
+# param [string] $rootPath: The path of the directory to contain the random file (optional)
+########################
+function Get-LogFile
+{
+ param([string] $rootPath = ".")
+ return [System.IO.Path]::Combine($rootPath, ([System.IO.Path]::GetRandomFileName()))
+}
+
+#################
+#
+# Execute a test, no exception thrown means the test passes. Can also be used to compare test
+# output to a baseline file, or to generate a baseline file
+#
+# param [scriptblock] $test: The test code to run
+# param [string] $testScript: The path to the baseline file (optional)
+# param [switch] $generate: Set if the baseline file should be generated, otherwise
+# the baseline file would be used for comparison with test output
+##################
+function Run-Test
+{
+ param([scriptblock]$test, [string] $testName = $null, [string] $testScript = $null, [switch] $generate = $false)
+ Test-Setup
+ $transFile = $testName + ".log"
+ if ($testName -eq $null)
+ {
+ $transFile = Get-LogFile "."
+ }
+ if($testScript)
+ {
+ if ($generate)
+ {
+ Write-Log "[run-test]: generating script file $testScript"
+ $transFile = $testScript
+ }
+ else
+ {
+ Write-Log "[run-test]: writing output to $transFile, using validation script $testScript"
+ }
+ }
+ else
+ {
+ Write-Log "[run-test]: Running test without file comparison"
+ }
+
+ $oldPref = $ErrorActionPreference
+ $ErrorActionPreference = "SilentlyContinue"
+ #Start-Transcript -Path $transFile
+ $success = $false;
+ $ErrorActionPreference = $oldPref
+ try
+ {
+ &$test
+ $success = $true;
+ }
+ finally
+ {
+ Test-Cleanup
+ $oldPref = $ErrorActionPreference
+ $ErrorActionPreference = "SilentlyContinue"
+ #Stop-Transcript
+ $ErrorActionPreference = $oldPref
+ if ($testScript)
+ {
+ if ($success -and -not $generate)
+ {
+ $result = Compare-Object (Get-Transcript $testScript) (Get-Transcript $transFile)
+ if ($result -ne $null)
+ {
+ throw "[run-test]: Test Failed " + (Out-String -InputObject $result) + ", Transcript at $transFile"
+ }
+
+ }
+ }
+
+ if ($success)
+ {
+ Write-Log "[run-test]: Test Passed"
+ }
+ }
+
+}
+
+##################
+#
+# Format a string for proper output to host and transcript
+#
+# param [string] $message: The text to write
+##################
+function Write-Log
+{
+ [CmdletBinding()]
+ param( [Object] [Parameter(Position=0, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$false)] $obj = "")
+ PROCESS
+ {
+ $obj | Out-String | Write-Verbose
+ }
+}
+
+function Check-SubscriptionMatch
+{
+ param([string] $baseSubscriptionName, [Microsoft.WindowsAzure.Commands.Utilities.Common.SubscriptionData] $checkedSubscription)
+ Write-Log ("[CheckSubscriptionMatch]: base subscription: '$baseSubscriptionName', validating '" + ($checkedSubscription.SubscriptionName)+ "'")
+ Format-Subscription $checkedSubscription | Write-Log
+ if ($baseSubscriptionName -ne $checkedSubscription.SubscriptionName)
+ {
+ throw ("[Check-SubscriptionMatch]: Subscription Match Failed '" + ($baseSubscriptionName) + "' != '" + ($checkedSubscription.SubscriptionName) + "'")
+ }
+
+ Write-Log ("CheckSubscriptionMatch]: subscription check succeeded.")
+}
+
+
+##########################
+#
+# Return the fully qualified filename of a given file
+#
+# param [string] $path: The relative path to the file
+#
+##########################
+function Get-FullName
+{
+ param([string] $path)
+ $pathObj = Get-Item $path
+ return ($pathObj.FullName)
+}
+
+#############################
+#
+# PowerShell environment setup for running a test, save previous snvironment settings and
+# enable verbose, debug, and warning streams
+#
+#############################
+function Test-Setup
+{
+ $global:oldConfirmPreference = $global:ConfirmPreference
+ $global:oldDebugPreference = $global:DebugPreference
+ $global:oldErrorActionPreference = $global:ErrorActionPreference
+ $global:oldFormatEnumerationLimit = $global:FormatEnumerationLimit
+ $global:oldProgressPreference = $global:ProgressPreference
+ $global:oldVerbosePreference = $global:VerbosePreference
+ $global:oldWarningPreference = $global:WarningPreference
+ $global:oldWhatIfPreference = $global:WhatIfPreference
+ $global:ConfirmPreference = "None"
+ $global:DebugPreference = "Continue"
+ $global:ErrorActionPreference = "Stop"
+ $global:FormatEnumerationLimit = 10000
+ $global:ProgressPreference = "SilentlyContinue"
+ $global:VerbosePreference = "Continue"
+ $global:WarningPreference = "Continue"
+ $global:WhatIfPreference = 0
+}
+
+#############################
+#
+# PowerShell environment cleanup for running a test, restore previous snvironment settings
+#
+#############################
+function Test-Cleanup
+{
+ $global:ConfirmPreference = $global:oldConfirmPreference
+ $global:DebugPreference = $global:oldDebugPreference
+ $global:ErrorActionPreference = $global:oldErrorActionPreference
+ $global:FormatEnumerationLimit = $global:oldFormatEnumerationLimit
+ $global:ProgressPreference = $global:oldProgressPreference
+ $global:VerbosePreference = $global:oldVerbosePreference
+ $global:WarningPreference = $global:oldWarningPreference
+ $global:WhatIfPreference = $global:oldWhatIfPreference
+}
+
+#######################
+#
+# Dump the contents of a directory to the output stream
+#
+# param [string] $rootPath: The path to the directory
+# param [switch] $resurse : True if we should recurse directories
+######################
+function Dump-Contents
+{
+ param([string] $rootPath = ".", [switch] $recurse = $false)
+ if (-not ((Test-Path $rootPath) -eq $true))
+ {
+ throw "[dump-contents]: $rootPath does not exist"
+ }
+
+ foreach ($item in Get-ChildItem $rootPath)
+ {
+ Write-Log
+ Write-Log "---------------------------"
+ Write-Log $item.Name
+ Write-Log "---------------------------"
+ Write-Log
+ if (!$item.PSIsContainer)
+ {
+ if (Test-BinaryFile $item)
+ {
+ Write-Log "---- binary data excluded ----"
+ }
+ else
+ {
+ Get-Content ($item.PSPath)
+ }
+ }
+ elseif ($recurse)
+ {
+ Dump-Contents ($item.PSPath) -recurse
+ }
+ }
+}
+
+function Test-BinaryFile
+{
+ param ([System.IO.FileInfo] $file)
+ ($excludedExtensions | Where-Object -FilterScript {$_ -eq $file.Extension}) -ne $null
+}
+
+
+<#
+.SYNOPSIS
+Removes all current subscriptions.
+#>
+function Remove-AllSubscriptions
+{
+ Get-AzureSubscription | Remove-AzureSubscription -Force
+}
+
+<#
+.SYNOPSIS
+Waits on the specified job with the given timeout.
+
+.PARAMETER scriptBlock
+The script block to execute.
+
+.PARAMETER timeout
+The maximum timeout for the script.
+#>
+function Wait-Function
+{
+ param([ScriptBlock] $scriptBlock, [object] $breakCondition, [int] $timeout)
+
+ if ($timeout -eq 0) { $timeout = 60 * 5 }
+ $start = [DateTime]::Now
+ $current = [DateTime]::Now
+ $diff = $current - $start
+
+ do
+ {
+ Start-Sleep -s 5
+ $current = [DateTime]::Now
+ $diff = $current - $start
+ $result = &$scriptBlock
+ }
+ while(($result -ne $breakCondition) -and ($diff.TotalSeconds -lt $timeout))
+
+ if ($diff.TotalSeconds -ge $timeout)
+ {
+ Write-Warning "The script block '$scriptBlock' exceeded the timeout."
+ # End the processing so the test does not blow up
+ exit
+ }
+}
+
+
+<#
+.SYNOPSIS
+Waits for specified duration if not-mocked, otherwise skips wait.
+
+.PARAMETER timeout
+Timeout in seconds
+#>
+function Wait-Seconds
+{
+ param([int] $timeout)
+
+ [Microsoft.Azure.Test.TestUtilities]::Wait($timeout * 1000)
+}
+
+
+<#
+.SYNOPSIS
+Retires the specified job the given numer of times, waiting the given interval between tries
+
+.PARAMETER scriptBlock
+The script block to execute. Must be a predicate (return true or false)
+
+.PARAMETER argument
+Argument to pass to the script block
+
+.PARAMETER maxTries
+The maximum number of times to retry
+
+.PARAMETER interval
+The number of seconds to wait before retrying
+#>
+function Retry-Function
+{
+ param([ScriptBlock] $scriptBlock, [Object] $argument, [int] $maxTries, [int] $interval)
+
+ if ($interval -eq 0) { $interval = 60 }
+
+ $result = Invoke-Command -ScriptBlock $scriptBlock -ArgumentList $argument;
+ $tries = 1;
+ while(( $result -ne $true) -and ($tries -le $maxTries))
+ {
+ Start-Sleep -s $interval
+ $result = Invoke-Command -ScriptBlock $scriptBlock -ArgumentList $argument;
+ $tries++;
+ }
+
+ return $result;
+}
+
+function getAssetName
+{
+ $stack = Get-PSCallStack
+ $testName = getTestName
+
+ $assetName = [Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::GetAssetName($testName, "onesdk")
+
+ return $assetName
+}
+
+<#
+.SYNOPSIS
+Gets the name of the test
+#>
+function getTestName
+{
+ $stack = Get-PSCallStack
+ $testName = $null
+ foreach ($frame in $stack)
+ {
+ if ($frame.Command.StartsWith("Test-", "CurrentCultureIgnoreCase"))
+ {
+ $testName = $frame.Command
+ }
+ }
+
+ return $testName
+}
+
+<#
+.SYNOPSIS
+Gets a variable setting from the recorded mock for a test
+
+.PARAMETER variableName
+The name of the variable
+#>
+function getVariable
+{
+ param([string]$variableName)
+ $testName = getTestName
+ $result = $null
+ if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Variables.ContainsKey($variableName))
+ {
+ $result = [Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Variables[$variableName]
+ }
+
+ return $result
+}
+
+<#
+.SYNOPSIS
+Gets the subscription ID from the recorded mock for a test
+
+#>
+function getSubscription
+{
+ return $(getVariable "SubscriptionId")
+}
+
+<#
+.SYNOPSIS
+Gets the test mock execution mode (Playback, None, Record)
+
+#>
+function getTestMode
+{
+ return $([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode)
+}
+
+<#
+.SYNOPSIS
+Creates a PSCredential from a given useranme and clear text password
+
+.PARAMETER username
+The user name
+.PARAMETER password
+The corresponding password in clear text
+#>
+function createTestCredential
+{
+ param([string]$username, [string]$password)
+ $secPasswd = ConvertTo-SecureString $password -AsPlainText -Force
+ return $(New-Object System.Management.Automation.PSCredential ($username, $secPasswd))
+}
+
+<#
+.SYNOPSIS
+Creates a PSCredential from a given connection string
+
+.PARAMETER connectionString
+The connection string containing username and password information
+#>
+function getTestCredentialFromString
+{
+ param([string] $connectionString)
+ $parsedString = [Microsoft.Azure.Test.TestUtilities]::ParseConnectionString($connectionString)
+ if (-not ($parsedString.ContainsKey([Microsoft.Azure.Test.TestEnvironment]::UserIdKey) -or ((-not ($parsedString.ContainsKey([Microsoft.Azure.Test.TestEnvironment]::AADPasswordKey))))))
+ {
+ throw "The connection string '$connectionString' must have a valid value, including username and password " +`
+ "in the following format: SubscriptionId=;UserName=;Password="
+ }
+ return $(createTestCredential $parsedString[[Microsoft.Azure.Test.TestEnvironment]::UserIdKey] $parsedString[[Microsoft.Azure.Test.TestEnvironment]::AADPasswordKey])
+}
+
+<#
+.SYNOPSIS
+Gets a Subscription from a given connection string
+
+.PARAMETER connectionString
+The connection string containing subscription information
+#>
+function getSubscriptionFromString
+{
+ param([string] $connectionString)
+ $parsedString = [Microsoft.Azure.Test.TestUtilities]::ParseConnectionString($connectionString)
+ if (-not ($parsedString.ContainsKey([Microsoft.Azure.Test.TestEnvironment]::SubscriptionIdKey)))
+ {
+ throw "The connection string '$connectionString' must have a valid value, including subscription " +`
+ "in the following format: SubscriptionId=;UserName=;Password="
+ }
+ return $($parsedString[[Microsoft.Azure.Test.TestEnvironment]::SubscriptionIdKey])
+}
+<#
+.SYNOPSIS
+Creates a PSCredential from the given test environment, using the environemnt variables for this process
+
+.PARAMETER testEnvironment
+The test environment : either RDFE or CSM
+#>
+function getCredentialFromEnvironment
+{
+ param([string]$testEnvironment)
+ $credential = $null
+ $testMode = getTestMode
+ if ($testMode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecordMode]::Playback)
+ {
+ $environmentVariable = $null;
+ if ([System.string]::Equals($testEnvironment, "rdfe", [System.StringComparison]::OrdinalIgnoreCase))
+ {
+ $environmentVariable = [Microsoft.Azure.Test.RDFETestEnvironmentFactory]::TestOrgIdAuthenticationKey
+ }
+ else
+ {
+ $environmentVariable = [Microsoft.Azure.Test.CSMTestEnvironmentFactory]::TestCSMOrgIdConnectionStringKey
+ }
+
+ $environmentValue = [System.Environment]::GetEnvironmentVariable($environmentVariable)
+ if ([System.string]::IsNullOrEmpty($environmentValue))
+ {
+ throw "The environment variable '$environmentVariable' must have a valid value, including username and password " +`
+ "in the following format: $environmentVariable=SubscriptionId=;UserName=;Password="
+ }
+
+ $credential = $(getTestCredentialFromString $environmentValue)
+ }
+
+ return $credential
+}
+
+<#
+.SYNOPSIS
+Creates a PSCredential from the given test environment, using the environemnt variables for this process
+
+.PARAMETER testEnvironment
+The test environment : either RDFE or CSM
+#>
+function getSubscriptionFromEnvironment
+{
+ param([string]$testEnvironment)
+ $subscription = $null
+ $testMode = getTestMode
+ if ($testMode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecordMode]::Playback)
+ {
+ $environmentVariable = $null;
+ if ([System.string]::Equals($testEnvironment, "rdfe", [System.StringComparison]::OrdinalIgnoreCase))
+ {
+ $environmentVariable = [Microsoft.Azure.Test.RDFETestEnvironmentFactory]::TestOrgIdAuthenticationKey
+ }
+ else
+ {
+ $environmentVariable = [Microsoft.Azure.Test.CSMTestEnvironmentFactory]::TestCSMOrgIdConnectionStringKey
+ }
+
+ $environmentValue = [System.Environment]::GetEnvironmentVariable($environmentVariable)
+ if ([System.string]::IsNullOrEmpty($environmentValue))
+ {
+ throw "The environment variable '$environmentVariable' must have a valid value, including subscription id" +`
+ "in the following format: $environmentVariable=SubscriptionId=;UserName=;Password="
+ }
+
+ $subscription = $(getSubscriptionFromString $environmentValue)
+ }
+ else
+ {
+ $subscription = $(getSubscription)
+ }
+
+ return $subscription
+}
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/Constants.cs b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Constants.cs
new file mode 100644
index 000000000000..c088a5021872
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Constants.cs
@@ -0,0 +1,91 @@
+
+// ----------------------------------------------------------------------------------
+//
+// 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.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.WindowsAzure.Commands.ScenarioTest
+{
+ public class Category
+ {
+ // Service
+ public const string Service = "Service";
+
+ public const string All = "All";
+
+ public const string Automation = "Automation";
+
+ public const string ServiceBus = "ServiceBus";
+
+ public const string CloudService = "CloudService";
+
+ public const string Management = "Management";
+
+ public const string MediaServices = "MediaServices";
+
+ public const string Websites = "Websites";
+
+ public const string Storage = "Storage";
+
+ public const string Store = "Store";
+
+ public const string Sql = "Sql";
+
+ public const string ServiceManagement = "ServiceManagement";
+
+ public const string Resources = "Resources";
+
+ public const string Tags = "Tags";
+
+ public const string TrafficManager = "TrafficManager";
+
+ public const string ManagedCache = "ManagedCache";
+
+ public const string Scheduler = "Scheduler";
+
+ public const string KeyVault = "KeyVault";
+
+ public const string Network = "Network";
+
+ // Owners
+ public const string OneSDK = "OneSDK";
+
+ // Acceptance type
+ public const string AcceptanceType = "AcceptanceType";
+
+ public const string CIT = "CIT";
+
+ public const string BVT = "BVT";
+
+ public const string CheckIn = "CheckIn";
+
+ // Run Type
+ public const string RunType = "RunType";
+ public const string LiveOnly = "LiveOnly";
+ //Uncomment when we need to tag on only run under mock
+ //public const string MockedOnly = "MockedOnly";
+
+ // Environment
+ public const string Environment = "Environment";
+
+ public const string WAPack = "WAPack";
+ }
+
+ public class Variables
+ {
+ public const string SubscriptionId = "SubscriptionId";
+
+ public const string Username = "Username";
+
+ public const string Tenantd = "Tenantd";
+ }
+}
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs b/src/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs
new file mode 100644
index 000000000000..aa39bc9b9728
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs
@@ -0,0 +1,326 @@
+// ----------------------------------------------------------------------------------
+//
+// 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;
+using Microsoft.Azure.Commands.ResourceManager.Common;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using Microsoft.Azure.Test;
+using Microsoft.Azure.Test.HttpRecorder;
+using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
+using Microsoft.WindowsAzure.Commands.Utilities.Common;
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Diagnostics;
+using System.IO;
+using System.Linq;
+using System.Management.Automation;
+using System.Security.Cryptography.X509Certificates;
+
+namespace Microsoft.WindowsAzure.Commands.ScenarioTest
+{
+ public class EnvironmentSetupHelper
+ {
+ private static string testEnvironmentName = "__test-environment";
+
+ private static string testSubscriptionName = "__test-subscriptions";
+
+ private AzureSubscription testSubscription;
+
+ private AzureAccount testAccount;
+
+ private const string PackageDirectoryFromCommon = @"..\..\..\..\Package\Debug";
+ private const string PackageDirectory = @"..\..\..\..\..\Package\Debug";
+
+ protected List modules;
+
+ protected ProfileClient ProfileClient { get; set; }
+
+ public EnvironmentSetupHelper()
+ {
+ var datastore = new MemoryDataStore();
+ AzureSession.DataStore = datastore;
+ var profile = new AzureSMProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile));
+ var rmprofile = new AzureRMProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile));
+ rmprofile.Environments.Add("foo", AzureEnvironment.PublicEnvironments.Values.FirstOrDefault());
+ rmprofile.DefaultContext = new AzureContext(new AzureSubscription(), new AzureAccount(), rmprofile.Environments["foo"], new AzureTenant());
+ rmprofile.DefaultContext.Subscription.Environment = "foo";
+ AzureRMCmdlet.DefaultProfile = rmprofile;
+ AzureSession.DataStore = datastore;
+ ProfileClient = new ProfileClient(profile);
+
+ // Ignore SSL errors
+ System.Net.ServicePointManager.ServerCertificateValidationCallback += (se, cert, chain, sslerror) => true;
+
+ // Set RunningMocked
+ if (HttpMockServer.GetCurrentMode() == HttpRecorderMode.Playback)
+ {
+ TestMockSupport.RunningMocked = true;
+ }
+ else
+ {
+ TestMockSupport.RunningMocked = false;
+ }
+ }
+
+ ///
+ /// Loads DummyManagementClientHelper with clients and throws exception if any client is missing.
+ ///
+ ///
+ public void SetupManagementClients(params object[] initializedManagementClients)
+ {
+ AzureSession.ClientFactory = new MockClientFactory(initializedManagementClients);
+ }
+
+ ///
+ /// Loads DummyManagementClientHelper with clients and sets it up to create missing clients dynamically.
+ ///
+ ///
+ public void SetupSomeOfManagementClients(params object[] initializedManagementClients)
+ {
+ AzureSession.ClientFactory = new MockClientFactory(initializedManagementClients, false);
+ }
+
+ public void SetupEnvironment(AzureModule mode)
+ {
+ SetupAzureEnvironmentFromEnvironmentVariables(mode);
+
+ ProfileClient.Profile.Save();
+ }
+
+ private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode)
+ {
+ TestEnvironment rdfeEnvironment = new RDFETestEnvironmentFactory().GetTestEnvironment();
+ TestEnvironment csmEnvironment = new CSMTestEnvironmentFactory().GetTestEnvironment();
+ TestEnvironment currentEnvironment = (mode == AzureModule.AzureResourceManager ? csmEnvironment : rdfeEnvironment);
+
+ if (currentEnvironment.UserName == null)
+ {
+ currentEnvironment.UserName = "fakeuser@microsoft.com";
+ }
+
+ SetAuthenticationFactory(mode, rdfeEnvironment, csmEnvironment);
+
+ AzureEnvironment environment = new AzureEnvironment { Name = testEnvironmentName };
+
+ Debug.Assert(currentEnvironment != null);
+ environment.Endpoints[AzureEnvironment.Endpoint.ActiveDirectory] = currentEnvironment.Endpoints.AADAuthUri.AbsoluteUri;
+ environment.Endpoints[AzureEnvironment.Endpoint.Gallery] = currentEnvironment.Endpoints.GalleryUri.AbsoluteUri;
+
+ if (csmEnvironment != null)
+ {
+ environment.Endpoints[AzureEnvironment.Endpoint.ResourceManager] = csmEnvironment.BaseUri.AbsoluteUri;
+ }
+
+ if (rdfeEnvironment != null)
+ {
+ environment.Endpoints[AzureEnvironment.Endpoint.ServiceManagement] = rdfeEnvironment.BaseUri.AbsoluteUri;
+ }
+
+ if (!ProfileClient.Profile.Environments.ContainsKey(testEnvironmentName))
+ {
+ ProfileClient.AddOrSetEnvironment(environment);
+ }
+
+ if (currentEnvironment.SubscriptionId != null)
+ {
+ testSubscription = new AzureSubscription()
+ {
+ Id = new Guid(currentEnvironment.SubscriptionId),
+ Name = testSubscriptionName,
+ Environment = testEnvironmentName,
+ Account = currentEnvironment.UserName,
+ Properties = new Dictionary
+ {
+ {AzureSubscription.Property.Default, "True"},
+ {
+ AzureSubscription.Property.StorageAccount,
+ Environment.GetEnvironmentVariable("AZURE_STORAGE_ACCOUNT")
+ },
+ }
+ };
+
+ testAccount = new AzureAccount()
+ {
+ Id = currentEnvironment.UserName,
+ Type = AzureAccount.AccountType.User,
+ Properties = new Dictionary
+ {
+ {AzureAccount.Property.Subscriptions, currentEnvironment.SubscriptionId},
+ }
+ };
+
+ ProfileClient.Profile.Subscriptions[testSubscription.Id] = testSubscription;
+ ProfileClient.Profile.Accounts[testAccount.Id] = testAccount;
+ ProfileClient.SetSubscriptionAsDefault(testSubscription.Name, testSubscription.Account);
+ }
+ }
+
+ private void SetAuthenticationFactory(AzureModule mode, TestEnvironment rdfeEnvironment, TestEnvironment csmEnvironment)
+ {
+ string jwtToken = null;
+ X509Certificate2 certificate = null;
+ TestEnvironment currentEnvironment = (mode == AzureModule.AzureResourceManager ? csmEnvironment : rdfeEnvironment);
+
+ if (mode == AzureModule.AzureServiceManagement)
+ {
+ if (rdfeEnvironment.Credentials is TokenCloudCredentials)
+ {
+ jwtToken = ((TokenCloudCredentials)rdfeEnvironment.Credentials).Token;
+ }
+ if (rdfeEnvironment.Credentials is CertificateCloudCredentials)
+ {
+ certificate = ((CertificateCloudCredentials)rdfeEnvironment.Credentials).ManagementCertificate;
+ }
+ }
+ else
+ {
+ if (csmEnvironment.Credentials is TokenCloudCredentials)
+ {
+ jwtToken = ((TokenCloudCredentials)csmEnvironment.Credentials).Token;
+ }
+ if (csmEnvironment.Credentials is CertificateCloudCredentials)
+ {
+ certificate = ((CertificateCloudCredentials)csmEnvironment.Credentials).ManagementCertificate;
+ }
+ }
+
+
+ if (jwtToken != null)
+ {
+ AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(currentEnvironment.UserName,
+ jwtToken);
+ }
+ else if (certificate != null)
+ {
+ AzureSession.AuthenticationFactory = new MockCertificateAuthenticationFactory(currentEnvironment.UserName,
+ certificate);
+ }
+ }
+
+ public void SetupModules(AzureModule mode, params string[] modules)
+ {
+ this.modules = new List();
+ if (mode == AzureModule.AzureProfile)
+ {
+ this.modules.Add(Path.Combine(PackageDirectory, @"ServiceManagement\Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectory, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ }
+ else if (mode == AzureModule.AzureServiceManagement)
+ {
+ this.modules.Add(Path.Combine(PackageDirectory, @"ServiceManagement\Azure\Azure.psd1"));
+ }
+ else if (mode == AzureModule.AzureResourceManager)
+ {
+ this.modules.Add(Path.Combine(PackageDirectory, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ }
+ else
+ {
+ throw new ArgumentException("Unknown command type for testing");
+ }
+ this.modules.Add("Assert.ps1");
+ this.modules.Add("Common.ps1");
+ this.modules.AddRange(modules);
+ }
+
+ public void SetupModulesFromCommon(AzureModule mode, params string[] modules)
+ {
+ this.modules = new List();
+ if (mode == AzureModule.AzureProfile)
+ {
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ServiceManagement\Azure\Azure.psd1"));
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ }
+ else if (mode == AzureModule.AzureServiceManagement)
+ {
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ServiceManagement\Azure\Azure.psd1"));
+ }
+ else if (mode == AzureModule.AzureResourceManager)
+ {
+ this.modules.Add(Path.Combine(PackageDirectoryFromCommon, @"ResourceManager\AzureResourceManager\AzureResourceManager.psd1"));
+ }
+ else
+ {
+ throw new ArgumentException("Unknown command type for testing");
+ }
+ this.modules.Add("Assert.ps1");
+ this.modules.Add("Common.ps1");
+ this.modules.AddRange(modules);
+ }
+
+ public void SetupModules(params string[] modules)
+ {
+ this.modules = new List();
+ this.modules.Add("Assert.ps1");
+ this.modules.Add("Common.ps1");
+ this.modules.AddRange(modules);
+ }
+
+ public virtual Collection RunPowerShellTest(params string[] scripts)
+ {
+ using (var powershell = System.Management.Automation.PowerShell.Create())
+ {
+ SetupPowerShellModules(powershell);
+
+ Collection output = null;
+ for (int i = 0; i < scripts.Length; ++i)
+ {
+ Console.WriteLine(scripts[i]);
+ powershell.AddScript(scripts[i]);
+ }
+ try
+ {
+ powershell.Runspace.Events.Subscribers.Clear();
+ output = powershell.Invoke();
+
+ if (powershell.Streams.Error.Count > 0)
+ {
+ throw new RuntimeException(
+ "Test failed due to a non-empty error stream, check the error stream in the test log for more details.");
+ }
+
+ return output;
+ }
+ catch (Exception psException)
+ {
+ powershell.LogPowerShellException(psException);
+ throw;
+ }
+ finally
+ {
+ powershell.LogPowerShellResults(output);
+ powershell.Streams.Error.Clear();
+ }
+ }
+ }
+
+ private void SetupPowerShellModules(System.Management.Automation.PowerShell powershell)
+ {
+ powershell.AddScript(string.Format("cd \"{0}\"", Environment.CurrentDirectory));
+
+ foreach (string moduleName in modules)
+ {
+ powershell.AddScript(string.Format("Import-Module \".\\{0}\"", moduleName));
+ }
+
+ powershell.AddScript("$VerbosePreference='Continue'");
+ powershell.AddScript("$DebugPreference='Continue'");
+ powershell.AddScript("$ErrorActionPreference='Stop'");
+ powershell.AddScript("Write-Debug \"AZURE_TEST_MODE = $($env:AZURE_TEST_MODE)\"");
+ powershell.AddScript("Write-Debug \"TEST_HTTPMOCK_OUTPUT = $($env:TEST_HTTPMOCK_OUTPUT)\"");
+ }
+
+ }
+}
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/MSSharedLibKey.snk b/src/Common/Commands.ScenarioTests.ResourceManager.Common/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/src/Common/Commands.ScenarioTests.ResourceManager.Common/MSSharedLibKey.snk differ
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockAccessToken.cs b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockAccessToken.cs
new file mode 100644
index 000000000000..4acccb09d00f
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockAccessToken.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 System;
+using Microsoft.Azure.Common.Authentication;
+
+namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
+{
+ public class MockAccessToken : IAccessToken
+ {
+ public void AuthorizeRequest(Action authTokenSetter)
+ {
+ authTokenSetter("Bearer", AccessToken);
+ }
+
+ public string AccessToken { get; set; }
+ public string UserId { get; set; }
+ public LoginType LoginType { get; set; }
+
+ public string TenantId
+ {
+ get { return string.Empty; }
+ }
+ }
+}
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockAccessTokenProvider.cs b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockAccessTokenProvider.cs
new file mode 100644
index 000000000000..8b14461bc714
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockAccessTokenProvider.cs
@@ -0,0 +1,45 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Security;
+using Microsoft.Azure.Common.Authentication.Models;
+using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
+using Microsoft.Azure.Common.Authentication;
+
+namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common
+{
+ public class MockAccessTokenProvider : ITokenProvider
+ {
+ private readonly IAccessToken accessToken;
+
+ public MockAccessTokenProvider(string token)
+ : this(token, "user@live.com")
+ { }
+
+ public MockAccessTokenProvider(string token, string userId)
+ {
+ this.accessToken = new MockAccessToken()
+ {
+ AccessToken = token,
+ UserId = userId
+ };
+ }
+
+ public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password,
+ AzureAccount.AccountType credentialType)
+ {
+ return this.accessToken;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockCertificateAuthenticationFactory.cs b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockCertificateAuthenticationFactory.cs
new file mode 100644
index 000000000000..c7c09d774760
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockCertificateAuthenticationFactory.cs
@@ -0,0 +1,66 @@
+// ----------------------------------------------------------------------------------
+//
+// 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;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure.Common.Authentication.Models;
+using System.Security;
+using System.Security.Cryptography.X509Certificates;
+
+namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
+{
+ public class MockCertificateAuthenticationFactory : IAuthenticationFactory
+ {
+ public X509Certificate2 Certificate { get; set; }
+
+ public MockCertificateAuthenticationFactory()
+ {
+ Certificate = new X509Certificate2();
+ }
+
+ public MockCertificateAuthenticationFactory(string userId, X509Certificate2 certificate)
+ {
+ Certificate = certificate;
+ }
+
+ public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior,
+ AzureEnvironment.Endpoint resourceId = AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId)
+ {
+ if (account.Id == null)
+ {
+ account.Id = "test";
+ }
+
+ var token = new MockAccessToken
+ {
+ UserId = account.Id,
+ LoginType = LoginType.OrgId,
+ AccessToken = "123"
+ };
+
+ return token;
+ }
+
+ public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context)
+ {
+ return new CertificateCloudCredentials(context.Subscription.Id.ToString(), Certificate);
+ }
+
+
+ public Microsoft.Rest.ServiceClientCredentials GetServiceClientCredentials(AzureContext context)
+ {
+ throw new System.NotImplementedException();
+ }
+ }
+}
diff --git a/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockClientFactory.cs b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockClientFactory.cs
new file mode 100644
index 000000000000..c21e34f4fa0d
--- /dev/null
+++ b/src/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockClientFactory.cs
@@ -0,0 +1,239 @@
+// ----------------------------------------------------------------------------------
+//
+// 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.Diagnostics;
+using System.Linq;
+using System.Net;
+using System.Net.Http;
+using System.Net.Http.Headers;
+using System.Threading;
+using System.Threading.Tasks;
+using Hyak.Common;
+using Microsoft.Azure.Test.HttpRecorder;
+using Microsoft.Azure.Common;
+using Microsoft.Azure.Common.Authentication.Factories;
+using Microsoft.Azure.Common.Authentication.Models;
+using Microsoft.Azure.Common.Authentication;
+using Microsoft.Azure;
+using System.IO;
+
+namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
+{
+ public class MockClientFactory : IClientFactory
+ {
+ private readonly bool throwWhenNotAvailable;
+
+ public bool MoqClients { get; set; }
+
+ public List
..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll
@@ -519,9 +519,9 @@
{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}
Commands.ResourceManager.Common
-
- {c1bda476-a5cc-4394-914d-48b0ec31a710}
- Commands.ScenarioTests.Common
+
+ {3436a126-edc9-4060-8952-9a1be34cdd95}
+ Commands.ScenarioTests.ResourceManager.Common
{d470e50a-9607-48d6-a924-4f9f86502704}
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
index 3da21e79757f..dd8be1685bb9 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/NewBatchComputeNodeUserCommandTests.cs
@@ -16,12 +16,10 @@
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.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -64,18 +62,7 @@ public void NewBatchComputeNodeUserParametersTest()
cmdlet.Password = "Password1234";
// Don't go to the service on an Add ComputeNodeUser call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- ComputeNodeAddUserResponse response = new ComputeNodeAddUserResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
index b9fec9683e6e..c6a7400f2446 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodeUsers/RemoveBatchComputeNodeUserCommandTests.cs
@@ -20,7 +20,6 @@
using Moq;
using System.Collections.Generic;
using System.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -61,19 +60,8 @@ public void RemoveBatchComputeNodeUserParametersTest()
cmdlet.ComputeNodeId = "computeNode1";
cmdlet.Name = "testUser";
- // Don't go to the service on a DeleteTVMUser call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- ComputeNodeDeleteUserResponse response = new ComputeNodeDeleteUserResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ // Don't go to the service on a Delete ComputeNodeUser call
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
index a11605067bb7..bc50b520cb26 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/GetBatchComputeNodeCommandTests.cs
@@ -21,7 +21,6 @@
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;
@@ -56,18 +55,8 @@ public void GetBatchComputeNodeTest()
cmdlet.Filter = null;
// Build a compute node instead of querying the service on a Get ComputeNode call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- ComputeNodeGetResponse response = BatchTestHelpers.CreateComputeNodeGetResponse(cmdlet.Id);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ ComputeNodeGetResponse response = BatchTestHelpers.CreateComputeNodeGetResponse(cmdlet.Id);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -95,18 +84,8 @@ public void ListBatchComputeNodesByODataFilterTest()
string[] idsOfConstructedComputeNodes = new[] { "computeNode1", "computeNode2" };
// Build some compute nodes instead of querying the service on a List ComputeNodes call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -142,18 +121,8 @@ public void ListBatchComputeNodesWithoutFiltersTest()
string[] idsOfConstructedComputeNodes = new[] { "computeNode1", "computeNode2", "computeNode3" };
// Build some compute nodes instead of querying the service on a List ComputeNodes call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -194,18 +163,8 @@ public void ListComputeNodesMaxCountTest()
string[] idsOfConstructedComputeNodes = new[] { "computeNode1", "computeNode2", "computeNode3" };
// Build some compute nodes instead of querying the service on a List ComputeNodes call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ ComputeNodeListResponse response = BatchTestHelpers.CreateComputeNodeListResponse(idsOfConstructedComputeNodes);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs
index d0f0672cd7ff..93ff5dee6f11 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/ResetBatchComputeNodeCommandTests.cs
@@ -17,11 +17,9 @@
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;
@@ -63,18 +61,7 @@ public void ResetBatchComputeNodeParametersTest()
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;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
@@ -102,6 +89,7 @@ public void ResetComputeNodeRequestTest()
request.ServiceRequestFunc = (cancellationToken) =>
{
+ // Grab the reimage option from the outgoing request.
requestReimageOption = request.TypedParameters.ComputeNodeReimageOption;
ComputeNodeReimageResponse response = new ComputeNodeReimageResponse();
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs
index b68bba34d46f..fb44eb63feaf 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/RestartBatchComputeNodeCommandTests.cs
@@ -17,11 +17,9 @@
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;
@@ -63,18 +61,7 @@ public void RestartBatchComputeNodeParametersTest()
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;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
@@ -102,6 +89,7 @@ public void RestartComputeNodeRequestTest()
request.ServiceRequestFunc = (cancellationToken) =>
{
+ // Grab the reboot option from the outgoing request.
requestRebootOption = request.TypedParameters.ComputeNodeRebootOption;
ComputeNodeRebootResponse response = new ComputeNodeRebootResponse();
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
index e6665dd71746..3751e165b1f0 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileCommandTests.cs
@@ -14,7 +14,6 @@
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;
@@ -23,7 +22,6 @@
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;
@@ -60,18 +58,8 @@ public void GetBatchNodeFileByTaskParametersTest()
cmdlet.Filter = null;
// Build a NodeFile instead of querying the service on a List NodeFile call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(new string[] {cmdlet.Name});
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(new string[] {cmdlet.Name});
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
Assert.Throws(() => cmdlet.ExecuteCmdlet());
@@ -103,18 +91,8 @@ public void GetBatchNodeFileByTaskTest()
cmdlet.Filter = null;
// Build a NodeFile instead of querying the service on a Get NodeFile Properties call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileGetPropertiesResponse response = BatchTestHelpers.CreateNodeFileGetPropertiesResponse(cmdlet.Name);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileGetPropertiesResponse response = BatchTestHelpers.CreateNodeFileGetPropertiesResponse(cmdlet.Name);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -143,18 +121,8 @@ public void ListBatchNodeFilesByTaskByODataFilterTest()
string[] namesOfConstructedNodeFiles = new[] { "stdout.txt", "stderr.txt" };
// Build some NodeFiles instead of querying the service on a List NodeFiles call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -191,18 +159,8 @@ public void ListBatchNodeFilesByTaskWithoutFiltersTest()
string[] namesOfConstructedNodeFiles = new[] { "stdout.txt", "stderr.txt", "wd" };
// Build some NodeFiles instead of querying the service on a List NodeFiles call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -244,18 +202,8 @@ public void ListNodeFilesByTaskMaxCountTest()
string[] namesOfConstructedNodeFiles = new[] { "stdout.txt", "stderr.txt", "wd" };
// Build some NodeFiles instead of querying the service on a List NodeFiles call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -291,18 +239,8 @@ public void GetBatchNodeFileByComputeNodeParametersTest()
cmdlet.Filter = null;
// Build a NodeFile instead of querying the service on a List NodeFile call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(new string[] {cmdlet.Name});
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(new string[] {cmdlet.Name});
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
Assert.Throws(() => cmdlet.ExecuteCmdlet());
@@ -327,18 +265,8 @@ public void GetBatchNodeFileByComputeNodeTest()
cmdlet.Filter = null;
// Build a NodeFile instead of querying the service on a Get NodeFile Properties call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileGetPropertiesResponse response = BatchTestHelpers.CreateNodeFileGetPropertiesResponse(cmdlet.Name);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileGetPropertiesResponse response = BatchTestHelpers.CreateNodeFileGetPropertiesResponse(cmdlet.Name);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -367,18 +295,8 @@ public void ListBatchNodeFilesByComputeNodeByODataFilterTest()
string[] namesOfConstructedNodeFiles = new[] { "startup\\stdout.txt", "startup\\stderr.txt" };
// Build some NodeFiles instead of querying the service on a List NodeFiles call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -415,18 +333,8 @@ public void ListBatchNodeFilesByComputeNodeWithoutFiltersTest()
string[] namesOfConstructedNodeFiles = new[] { "startup", "workitems", "shared" };
// Build some NodeFiles instead of querying the service on a List NodeFiles call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -468,18 +376,8 @@ public void ListNodeFilesByComputeNodeMaxCountTest()
string[] namesOfConstructedNodeFiles = new[] { "startup", "workitems", "shared" };
// Build some NodeFiles instead of querying the service on a List NodeFiles call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ NodeFileListResponse response = BatchTestHelpers.CreateNodeFileListResponse(namesOfConstructedNodeFiles);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
index f7424aa559da..b64b0d0c7743 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchNodeFileContentCommandTests.cs
@@ -15,16 +15,11 @@
using System;
using System.IO;
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;
@@ -63,34 +58,7 @@ public void GetBatchNodeFileByTaskParametersTest()
string fileName = "stdout.txt";
// Don't go to the service on a Get NodeFile call or Get NodeFile Properties call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest fileRequest = baseRequest as
- BatchRequest;
-
- if (fileRequest != null)
- {
- fileRequest.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileGetResponse response = new NodeFileGetResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- }
- else
- {
- BatchRequest propRequest =
- (BatchRequest)baseRequest;
-
- propRequest.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileGetPropertiesResponse response = BatchTestHelpers.CreateNodeFileGetPropertiesResponse(cmdlet.Name);
- Task task = Task.FromResult(response);
- return task;
- };
- }
- });
-
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpGetFileAndPropertiesInterceptor(cmdlet.Name);
cmdlet.AdditionalBehaviors = new List() { interceptor };
using (MemoryStream memStream = new MemoryStream())
@@ -126,34 +94,7 @@ public void GetBatchNodeFileByComputeNodeContentParametersTest()
string fileName = "startup\\stdout.txt";
// Don't go to the service on a Get NodeFile call or Get NodeFile Properties call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest fileRequest = baseRequest as
- BatchRequest;
-
- if (fileRequest != null)
- {
- fileRequest.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileGetResponse response = new NodeFileGetResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- }
- else
- {
- BatchRequest propRequest =
- (BatchRequest)baseRequest;
-
- propRequest.ServiceRequestFunc = (cancellationToken) =>
- {
- NodeFileGetPropertiesResponse response = BatchTestHelpers.CreateNodeFileGetPropertiesResponse(cmdlet.Name);
- Task task = Task.FromResult(response);
- return task;
- };
- }
- });
-
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpGetFileAndPropertiesInterceptor(cmdlet.Name);
cmdlet.AdditionalBehaviors = new List() { interceptor };
using (MemoryStream memStream = new MemoryStream())
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
index 288c7de677ba..30a2f289f43d 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Files/GetBatchRemoteDesktopProtocolFileCommandTests.cs
@@ -15,16 +15,12 @@
using System;
using System.IO;
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;
@@ -60,18 +56,7 @@ public void GetBatchRemoteDesktopProtocolFileParametersTest()
cmdlet.DestinationPath = null;
// Don't go to the service on a Get ComputeNode Remote Desktop call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- ComputeNodeGetRemoteDesktopResponse response = new ComputeNodeGetRemoteDesktopResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
using (MemoryStream memStream = new MemoryStream())
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs
index 5d33cf3a294c..a3064ccfb000 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/DisableBatchJobScheduleCommandTests.cs
@@ -16,17 +16,14 @@
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
+namespace Microsoft.Azure.Commands.Batch.Test.JobSchedules
{
public class DisableBatchJobScheduleCommandTests : WindowsAzure.Commands.Test.Utilities.Common.RMTestBase
{
@@ -58,18 +55,7 @@ public void DisableJobScheduleParametersTest()
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;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs
index 09866fe84dfc..487e4dabc89e 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/EnableBatchJobScheduleCommandTests.cs
@@ -16,17 +16,15 @@
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
+namespace Microsoft.Azure.Commands.Batch.Test.JobSchedules
{
public class EnableBatchJobScheduleCommandTests : WindowsAzure.Commands.Test.Utilities.Common.RMTestBase
{
@@ -58,18 +56,7 @@ public void EnableJobScheduleParametersTest()
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;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
index 7d972944907b..93edb04cec5a 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/GetBatchJobScheduleCommandTests.cs
@@ -21,7 +21,6 @@
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;
@@ -55,18 +54,8 @@ public void GetBatchJobScheduleTest()
cmdlet.Filter = null;
// Build a CloudJobSchedule instead of querying the service on a Get CloudJobSchedule call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobScheduleGetResponse response = BatchTestHelpers.CreateCloudJobScheduleGetResponse(cmdlet.Id);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudJobScheduleGetResponse response = BatchTestHelpers.CreateCloudJobScheduleGetResponse(cmdlet.Id);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -93,18 +82,8 @@ public void ListBatchJobScheduleByODataFilterTest()
string[] idsOfConstructedJobSchedules = new[] { "test1", "test2" };
// Build some CloudJobSchedules instead of querying the service on a List CloudJobSchedules call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -139,18 +118,8 @@ public void ListBatchJobSchedulesWithoutFiltersTest()
string[] idsOfConstructedJobSchedules = new[] { "id1", "id2", "id3" };
// Build some CloudJobSchedules instead of querying the service on a List CloudJobSchedules call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -190,18 +159,8 @@ public void ListJobSchedulesMaxCountTest()
string[] idsOfConstructedJobSchedules = new[] { "id1", "id2", "id3" };
// Build some CloudJobSchedules instead of querying the service on a List CloudJobSchedules call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudJobScheduleListResponse response = BatchTestHelpers.CreateCloudJobScheduleListResponse(idsOfConstructedJobSchedules);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
index 2614e5de256f..7c83018e061b 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/NewBatchJobScheduleCommandTests.cs
@@ -16,12 +16,10 @@
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.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -57,18 +55,7 @@ public void NewBatchJobScheduleParametersTest()
cmdlet.Id = "testJobSchedule";
// Don't go to the service on an Add CloudJobSchedule call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobScheduleAddResponse response = new CloudJobScheduleAddResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
index a556d13189b0..b2398a33c8f5 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs
@@ -20,7 +20,6 @@
using Moq;
using System.Collections.Generic;
using System.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -60,18 +59,7 @@ public void RemoveBatchJobScheduleParametersTest()
cmdlet.Id = "testJobSchedule";
// Don't go to the service on a Delete CloudJobSchedule call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobScheduleDeleteResponse response = new CloudJobScheduleDeleteResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/StopBatchJobScheduleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/StopBatchJobScheduleCommandTests.cs
index d9c4fbb806cb..58922ca34a39 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/StopBatchJobScheduleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/StopBatchJobScheduleCommandTests.cs
@@ -16,17 +16,14 @@
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
+namespace Microsoft.Azure.Commands.Batch.Test.JobSchedules
{
public class StopBatchJobScheduleCommandTests
{
@@ -58,18 +55,7 @@ public void StopJobScheduleParametersTest()
cmdlet.Id = "testJobSchedule";
// Don't go to the service on a Terminate CloudJobSchedule call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobScheduleTerminateResponse response = new CloudJobScheduleTerminateResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs
index 97bbd177ed56..0687853dd13f 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/DisableBatchJobCommandTests.cs
@@ -17,17 +17,15 @@
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
+namespace Microsoft.Azure.Commands.Batch.Test.Jobs
{
public class DisableBatchJobCommandTests : WindowsAzure.Commands.Test.Utilities.Common.RMTestBase
{
@@ -60,18 +58,7 @@ public void DisableJobParametersTest()
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;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
@@ -97,6 +84,7 @@ public void DisableJobRequestTest()
BatchRequest request =
(BatchRequest)baseRequest;
+ // Grab the disable option off the outgoing request.
requestDisableOption = request.TypedParameters.DisableJobOption;
request.ServiceRequestFunc = (cancellationToken) =>
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs
index 7850c4452127..2f7e9c5435b9 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/EnableBatchJobCommandTests.cs
@@ -16,17 +16,14 @@
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
+namespace Microsoft.Azure.Commands.Batch.Test.Jobs
{
public class EnableBatchJobCommandTests : WindowsAzure.Commands.Test.Utilities.Common.RMTestBase
{
@@ -58,18 +55,7 @@ public void EnableJobParametersTest()
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;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
index c4a458d744d0..d1b1a2488ef0 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs
@@ -21,7 +21,6 @@
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;
@@ -55,18 +54,8 @@ public void GetBatchJobTest()
cmdlet.Filter = null;
// Build a CloudJob instead of querying the service on a Get CloudJob call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobGetResponse response = BatchTestHelpers.CreateCloudJobGetResponse(cmdlet.Id);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudJobGetResponse response = BatchTestHelpers.CreateCloudJobGetResponse(cmdlet.Id);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -94,18 +83,8 @@ public void ListBatchJobsByODataFilterTest()
string[] idsOfConstructedJobs = new[] { "job-1", "job-2" };
// Build some CloudJobs instead of querying the service on a List CloudJobs call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -141,18 +120,8 @@ public void ListBatchJobsWithoutFiltersTest()
string[] idsOfConstructedJobs = new[] { "job-1", "job-2", "job-3" };
// Build some CloudJobs instead of querying the service on a List CloudJobs call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -193,18 +162,8 @@ public void ListJobsMaxCountTest()
string[] idsOfConstructedJobs = new[] { "job-1", "job-2", "job-3" };
// Build some CloudJobs instead of querying the service on a List CloudJobs call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudJobListResponse response = BatchTestHelpers.CreateCloudJobListResponse(idsOfConstructedJobs);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
index 741cec243ee1..270d4fdf20be 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/NewBatchJobCommandTests.cs
@@ -16,12 +16,10 @@
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.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -57,18 +55,7 @@ public void NewBatchJobParametersTest()
cmdlet.Id = "testJob";
// Don't go to the service on an Add CloudJob call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobAddResponse response = new CloudJobAddResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
index 0ae823e53bfd..23a561df6363 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/RemoveBatchJobCommandTests.cs
@@ -20,7 +20,6 @@
using Moq;
using System.Collections.Generic;
using System.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -60,18 +59,7 @@ public void RemoveBatchJobParametersTest()
cmdlet.Id = "job-1";
// Don't go to the service on a Delete CloudJob call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobDeleteResponse response = new CloudJobDeleteResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/StopBatchJobCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/StopBatchJobCommandTests.cs
index 1bf3bae3e512..90f57972cccb 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/StopBatchJobCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Jobs/StopBatchJobCommandTests.cs
@@ -14,20 +14,17 @@
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
+namespace Microsoft.Azure.Commands.Batch.Test.Jobs
{
public class StopBatchJobCommandTests
{
@@ -59,18 +56,7 @@ public void StopJobParametersTest()
cmdlet.Id = "testJob";
// Don't go to the service on a Terminate CloudJob call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudJobTerminateResponse response = new CloudJobTerminateResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
@@ -96,6 +82,7 @@ public void StopJobRequestTest()
BatchRequest request =
(BatchRequest)baseRequest;
+ // Grab the terminate reason off the outgoing request
requestTerminateReason = request.TypedParameters.TerminateReason;
request.ServiceRequestFunc = (cancellationToken) =>
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs
index 4701edf59c70..8d91defea029 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/DisableBatchAutoScaleCommandTests.cs
@@ -16,13 +16,10 @@
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;
@@ -58,18 +55,7 @@ public void DisableAutoScaleParametersTest()
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;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs
index 1563656dcd7b..1f9c1611a5ec 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/EnableBatchAutoScaleCommandTests.cs
@@ -16,11 +16,9 @@
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;
@@ -62,18 +60,7 @@ public void EnableAutoScaleParametersTest()
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;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameter is set
@@ -99,6 +86,7 @@ public void EnableAutoScaleRequestTest()
BatchRequest request =
(BatchRequest)baseRequest;
+ // Grab the formula off the outgoing request
requestFormula = request.TypedParameters.AutoScaleFormula;
request.ServiceRequestFunc = (cancellationToken) =>
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs
index 6df660444ab9..24b905f7a4df 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs
@@ -21,7 +21,6 @@
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;
@@ -55,18 +54,8 @@ public void GetBatchPoolTest()
cmdlet.Filter = null;
// Build a CloudPool instead of querying the service on a Get CloudPool call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudPoolGetResponse response = BatchTestHelpers.CreateCloudPoolGetResponse(cmdlet.Id);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudPoolGetResponse response = BatchTestHelpers.CreateCloudPoolGetResponse(cmdlet.Id);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -93,18 +82,8 @@ public void ListBatchPoolByODataFilterTest()
string[] idsOfConstructedPools = new[] { "test1", "test2" };
// Build some CloudPools instead of querying the service on a List CloudPools call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudPoolListResponse response = BatchTestHelpers.CreateCloudPoolListResponse(idsOfConstructedPools);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudPoolListResponse response = BatchTestHelpers.CreateCloudPoolListResponse(idsOfConstructedPools);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -139,18 +118,8 @@ public void ListBatchPoolWithoutFiltersTest()
string[] idsOfConstructedPools = new[] { "pool1", "pool2", "pool3" };
// Build some CloudPools instead of querying the service on a List CloudPools call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudPoolListResponse response = BatchTestHelpers.CreateCloudPoolListResponse(idsOfConstructedPools);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudPoolListResponse response = BatchTestHelpers.CreateCloudPoolListResponse(idsOfConstructedPools);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
@@ -190,18 +159,8 @@ public void ListPoolsMaxCountTest()
string[] idsOfConstructedPools = new[] { "pool1", "pool2", "pool3" };
// Build some CloudPools instead of querying the service on a List CloudPools call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudPoolListResponse response = BatchTestHelpers.CreateCloudPoolListResponse(idsOfConstructedPools);
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ CloudPoolListResponse response = BatchTestHelpers.CreateCloudPoolListResponse(idsOfConstructedPools);
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor(response);
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Setup the cmdlet to write pipeline output to a list that can be examined later
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/NewBatchPoolCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/NewBatchPoolCommandTests.cs
index f897a4e921f2..b56337a06acd 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/NewBatchPoolCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/NewBatchPoolCommandTests.cs
@@ -16,12 +16,10 @@
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.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -59,18 +57,7 @@ public void NewBatchPoolParametersTest()
cmdlet.OSFamily = "4";
// Don't go to the service on an Add CloudPool call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudPoolAddResponse response = new CloudPoolAddResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs
index 6dcf4fcdb66f..2a03fd3c857e 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/RemoveBatchPoolCommandTests.cs
@@ -20,7 +20,6 @@
using Moq;
using System.Collections.Generic;
using System.Management.Automation;
-using System.Threading.Tasks;
using Xunit;
using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient;
@@ -60,18 +59,7 @@ public void RemoveBatchPoolParametersTest()
cmdlet.Id = "testPool";
// Don't go to the service on a Delete CloudPool call
- RequestInterceptor interceptor = new RequestInterceptor((baseRequest) =>
- {
- BatchRequest request =
- (BatchRequest)baseRequest;
-
- request.ServiceRequestFunc = (cancellationToken) =>
- {
- CloudPoolDeleteResponse response = new CloudPoolDeleteResponse();
- Task task = Task.FromResult(response);
- return task;
- };
- });
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List() { interceptor };
// Verify no exceptions when required parameters are set
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/SetBatchPoolOSVersionCommandTests.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/SetBatchPoolOSVersionCommandTests.cs
index 5964b0ffa245..b1130243ad23 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/SetBatchPoolOSVersionCommandTests.cs
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Pools/SetBatchPoolOSVersionCommandTests.cs
@@ -16,11 +16,9 @@
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;
@@ -61,19 +59,8 @@ public void SetPoolOSVersionParametersTest()
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;
- };
- });
+ // Don't go to the service on an Upgrade OS call
+ RequestInterceptor interceptor = BatchTestHelpers.CreateNoOpInterceptor();
cmdlet.AdditionalBehaviors = new List